MadelineProtoDocs/docs/TD_docs/methods/pinChannelMessage.md

849 B

title description image
pinChannelMessage Pins a message in a supergroup channel chat. Needs appropriate rights in the channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: pinChannelMessage

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Pins a message in a supergroup channel chat. Needs appropriate rights in the channel

Parameters:

Name Type Description Required
channel_id int Identifier of the channel Yes
message_id int53 Identifier of the new pinned message Yes
disable_notification Bool True, if there should be no notification about the pinned message Yes

Return type: Ok