1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:56:57 +01:00
MadelineProto/docs/TD_docs/methods/pinChannelMessage.md
2017-08-25 15:05:53 +02:00

766 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

Params:

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