Function edit_message_scheduling_state

Source
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 to
  • message_id - Identifier of the message
  • scheduling_state - The new message scheduling state; pass null to send the message immediately
  • client_id - The client id to send the request to