Skip to content

editMessageSchedulingState

Function · TDLib 1.8.67 · d1085f9c

Edits the time when a scheduled message will be sent. Scheduling state of all messages in the same album or forwarded together with the message will be also changed

editMessageSchedulingState(
  chat_id: int53,
  message_id: int53,
  scheduling_state: MessageSchedulingState
) → Ok

chat_id

int53

The chat the message belongs to

message_id

int53

Identifier of the message. Use messageProperties.can_edit_scheduling_state to check whether the message is suitable

scheduling_state

MessageSchedulingState

The new message scheduling state; pass null to send the message immediately. Must be null for messages in the state messageSchedulingStateSendWhenVideoProcessed