MadelineProto/docs/TD_docs/methods/pinChannelMessage.md
2018-03-27 14:41:50 +02:00

770 B

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

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 Required Description
channel_id int Yes Identifier of the channel
message_id int53 Yes Identifier of the new pinned message
disable_notification Bool Yes True, if there should be no notification about the pinned message

Return type: Ok