DeleteChatMessagesBySender constructor
const
DeleteChatMessagesBySender({
- required int chatId,
- required MessageSender senderId,
Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires can_delete_messages administrator privileges
Implementation
const DeleteChatMessagesBySender({
required this.chatId,
required this.senderId,
});