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/removeThreadParticipant

Headers

authorizationstring required

Required bot token using the Bearer scheme.

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