Interface EditMessageSchedulingState

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. Request type for Tdjson#editMessageSchedulingState.

interface EditMessageSchedulingState {
    @type: "editMessageSchedulingState";
    chat_id: number;
    message_id: number;
    scheduling_state: MessageSchedulingState;
}

Properties

@type: "editMessageSchedulingState"
chat_id: number

The chat the message belongs to.

message_id: number

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.