UnpinAllChatMessages constructor

const UnpinAllChatMessages({
  1. required int chatId,
})

Removes all pinned messages from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in the channel

Implementation

const UnpinAllChatMessages({
  required this.chatId,
});