removeChatVerification()
Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
chat_id | number | string | required | Unique identifier for the target chat or username of the target bot or channel in the format @username |
returns
boolean
usage in yaebal
not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.
import type { RemoveChatVerificationParams } from "@yaebal/types";
await bot.api.call<boolean>("removeChatVerification", {
chat_id: 123456789,
} satisfies RemoveChatVerificationParams);context shortcut
also available as ctx.removeChatVerification() on
16
context types — see @yaebal/contexts.
/** Removes verification from a chat that is currently verified [on behalf of the organization](https://telegram.org/verify#third-party-verification) represented by the bot. Returns *True* on success. */
ctx.removeChatVerification(params?: Omit<RemoveChatVerificationParams, "chat_id">)official Bot API docs: https://core.telegram.org/bots/api/#removechatverification