MadelineProto/docs/TD_docs/methods/pinChannelMessage.md

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

Return type: Ok