Bot

Remove a thread participant

Removes one user from a thread. The authenticated bot must have permission to manage that thread's participants and cannot remove itself.

post/bot{token}/removeThreadParticipant

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