TDLib v0.0.2 TDLib.Method.PinSupergroupMessage View Source

Pins a message in a supergroup or channel; requires appropriate administrator rights in the supergroup or channel. Returns object_ptr.

NameTypeDescription
supergroup_idnumberIdentifier of the supergroup or channel.
message_idstringIdentifier of the new pinned message.
disable_notificationboolTrue, if there should be no notification about the pinned message.

More details on telegram’s documentation.