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 identifiermessage_ids
- Identifiers of the messages to be deletedrevoke
- Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chatsclient_id
- The client id to send the request to