Bot

Add a thread participant

Adds one user to a thread. The authenticated bot must have permission to manage that thread's participants.

post/bot{token}/addThreadParticipant

Path parameters

tokenstring required

Required bot token included in the URL path.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Request body

chat_idinteger required

A positive Inline chat identifier

user_idinteger required

A positive Inline user 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