TDLib v0.0.2 TDLib.Method.DeleteChatMessagesFromUser View Source
Deletes all messages sent by the specified user to a chat. Supported only in supergroups; requires can_delete_messages administrator privileges.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| user_id | number | User identifier. |
More details on telegram’s documentation.