telegram_bots_api/api/params/
delete_messages.rs

1use crate::api::enums::chat_uid::ChatUId;
2use serde::Serialize;
3
4/// <https://core.telegram.org/bots/api#deletemessages>
5/// Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns True on success.
6#[derive(Debug, Serialize, Default)]
7pub struct DeleteMessages {
8    pub chat_id: ChatUId,
9    pub message_ids: Vec<i64>,
10}