1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 23:26:56 +01:00
MadelineProto/docs/TD_docs/methods/pinChannelMessage.md
2017-08-25 14:43:29 +02:00

762 B

title description
pinChannelMessage Pins a message in a supergroup channel chat. Needs editor privileges 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 editor privileges in the channel

Params:

Name Type Required Description
channel_id int Yes Identifier of the channel
message_id long 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