Pins a message in a chat. A message can be pinned only if messageProperties.can_be_pinned
| chat_id |
Identifier of the chat |
| message_id |
Identifier of the new pinned message |
| disable_notification |
Pass true to disable notification about the pinned message. Notifications are always disabled in channels and private chats |
| only_for_self |
Pass true to pin the message only for self; private chats only |