pub async fn edit_message_scheduling_state(
chat_id: i64,
message_id: i64,
scheduling_state: Option<MessageSchedulingState>,
client_id: i32,
) -> Result<(), Error>
Expand description
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
ยงArguments
chat_id
- The chat the message belongs tomessage_id
- Identifier of the messagescheduling_state
- The new message scheduling state; pass null to send the message immediatelyclient_id
- The client id to send the request to