PinChatMessageMethod

Method to pin a message in a supergroup or a channel

Members

Variables

chat_id
TelegramID chat_id;

Unique identifier for the target chat or username of the target channel (in the format "@channelusername")

disable_notification
bool disable_notification;

Pass true, if it is not necessary to send a notification to all chat members about the new pinned message

message_id
int message_id;

Identifier of a message to pin

See Also

Meta