Skip to main content
PUT
Pin or unpin a chat

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatId
string
required

Body

application/json
pinned
boolean

Whether the chat is pinned.

Response

Successful response

The response is of type object.