edit_message_scheduling_state


Description:

public async Ok edit_message_scheduling_state (int64 chat_id, int64 message_id, MessageSchedulingState scheduling_state) throws TDLibError

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

Parameters:

chat_id

The chat the message belongs to

message_id

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

scheduling_state

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