Skip to content

verifyChat

Returns boolean

Verifies a chat on behalf of the organization which is represented by the bot.

Required: chat_id · Optional: 1 parameters

Limits:

  • custom_description: 0-70 characters
Try it
Token saved
Response

TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("verify_chat", {
chat_id: "YOUR_CHAT_ID"
})

Parameters

chat_id number | string Required
Unique identifier for the target chat or username of the target channel (in the format @channelusername). Channel direct messages chats can’t be verified.

custom_description string
Custom description for the verification; 0-70 characters. Must be empty if the organization isn’t allowed to provide a custom verification description.

verifyUser