PinChatMessage constructor

PinChatMessage(
  1. {int chatId,
  2. int messageId,
  3. bool disableNotification,
  4. bool onlyForSelf}
)

Pins a message in a chat; requires can_pin_messages rights or can_edit_messages rights in the channel

Implementation

PinChatMessage(
    {this.chatId,
    this.messageId,
    this.disableNotification,
    this.onlyForSelf});