DeleteChatMessagesBySender constructor

DeleteChatMessagesBySender(
  1. {required int chat_id,
  2. required MessageSender sender_id,
  3. int? extra,
  4. int? clientId}
)

Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires can_delete_messages administrator privileges

Returns Ok

Implementation

DeleteChatMessagesBySender