removeUserVerification()
Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
user_id | number | required | Unique identifier of the target user |
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 { RemoveUserVerificationParams } from "@yaebal/types";
await bot.api.call<boolean>("removeUserVerification", {
user_id: 123456789,
} satisfies RemoveUserVerificationParams);context shortcut
also available as ctx.removeUserVerification() on
16
context types — see @yaebal/contexts.
/** Removes verification from a user who is currently verified [on behalf of the organization](https://telegram.org/verify#third-party-verification) represented by the bot. Returns *True* on success. */
ctx.removeUserVerification(params?: Omit<RemoveUserVerificationParams, "user_id">)official Bot API docs: https://core.telegram.org/bots/api/#removeuserverification