chats

Pins message in chat or channel.

put/chats/{chatId}/pin

Request

  • Base URL
    https://botapi.tamtam.chat
  • URL
    https://botapi.tamtam.chat/chats/{chatId}/pin
  • Auth
    API key in query parameter access_token

Path parameters

chatIdinteger required

Chat identifier where message should be pinned

Request body

message_idstring required

Identifier of message to be pinned in chat

notifyboolean nullable

If true, participants will be notified with system message in chat/channel

Response

Success or not result

successboolean required

true if request was successful. false otherwise

messagestring

Explanatory message if the result is not successful

Changes