View Source ExTDLib.Method.DeleteChatMessagesBySender (ExTDLib v0.0.4)
Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires can_delete_messages administrator privileges. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| sender_id | MessageSender | Identifier of the sender of messages to delete. |
More details on telegram's documentation.