Telegram Bot API

Use this method to process a received chat join request query. Returns True on success.

post/answerChatJoinRequestQuery

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/answerChatJoinRequestQuery
  • Auth: none declared

Request body

chat_join_request_query_idstring required

Unique identifier of the join request query

result'approve' | 'decline' | 'queue' required

Result of the query. Must be either “approve” to allow the user to join the chat, “decline” to disallow the user to join the chat, or “queue” to leave the decision to other administrators.

Response

Telegram API response

oktrue required
resulttrue required

Changes