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
removeUserVerification is directly typed on Api — call it straight off bot.api.
import type { RemoveUserVerificationParams } from "@yaebal/types";
await bot.api.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"> & { user_id?: number })official Bot API docs: https://core.telegram.org/bots/api/#removeuserverification