UnpinChatMessage constructor

UnpinChatMessage(
  1. {int chatId,
  2. 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

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