GroupChannelPinnedMessage extension
GroupChannelPinnedMessage
- on
Methods
-
pinMessage(
int messageId) → Future< void> -
Pins a message to the channel.
messageId
is id of a message to pin. -
unpinMessage(
int messageId) → Future< void> -
Removes the message from the channel's pinned messages.
messageId
is id of a message to unpin.