Bot

Pin a message

Pins one message in a chat.

post/bot/pinMessage

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Request body

chat_idinteger required

A positive Inline chat identifier

message_idinteger required

A positive Inline message identifier

Response

Successful response for an action with no return value.

oktrue required

Always true for a successful request.

resultobject required

Method-specific response payload.

Example response

{
  "ok": true,
  "result": {}
}

Changes