Function delete_messages

Source
pub async fn delete_messages(
    chat_id: i64,
    message_ids: Vec<i64>,
    revoke: bool,
    client_id: i32,
) -> Result<(), Error>
Expand description

Deletes messages

ยงArguments

  • chat_id - Chat identifier
  • message_ids - Identifiers of the messages to be deleted
  • revoke - Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats
  • client_id - The client id to send the request to