đ§ delete_messages
Use this method to delete multiple messages simultaneously.
âī¸ Parameters
chat_id
(int
orstr
): Unique identifier for the target chat or username of the target channel (in the format @channelusername)message_ids
(List ofint
): Identifiers of the messages to be deleted
đ˛ Returns
bool
đ Examples
-đĒĢ Required Parameters
await bot.delete_messages(
chat_id=your_chat_id_here,
message_ids=your_message_ids_here
)