MessageSchedulingState

public indirect enum MessageSchedulingState : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum

Contains information about the time when a scheduled message will be sent

  • The message will be sent at the specified date

    • sendDate: Date the message will be sent. The date must be within 367 days in the future

    Declaration

    Swift

    case sendAtDate(sendDate: Int32)
  • The message will be sent when the peer will be online. Applicable to private chats only and when the exact online status of the peer is known

    Declaration

    Swift

    case sendWhenOnline