verifyUser
Returns boolean ↗
Verifies a user on behalf of the organization which is represented by the bot.
Required: user_id · Optional: 1 parameters
Limits:
- custom_description: 0-70 characters
Try it
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_user", { user_id: 0})Parameters
user_id number Required
Unique identifier of the target user.
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.