UnpinChatMessage constructor

const UnpinChatMessage({
  1. required int chatId,
  2. required int messageId,
})

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

Implementation

const UnpinChatMessage({
  required this.chatId,
  required this.messageId,
});