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.

NameTypeDescription
chat_idstringChat identifier.
user_idnumberUser identifier.

More details on telegram’s documentation.