Skip to content

setMessageSenderBotVerification

Function · TDLib 1.8.67 · d1085f9c

Changes the verification status of a user or a chat by an owned bot

setMessageSenderBotVerification(
  bot_user_id: int53,
  verified_id: MessageSender,
  custom_description: string
) → Ok

bot_user_id

int53

Identifier of the owned bot, which will verify the user or the chat

verified_id

MessageSender

Identifier of the user or the supergroup or channel chat, which will be verified by the bot

custom_description

string

Custom description of verification reason; 0-getOption("bot_verification_custom_description_length_max"). If empty, then "was verified by organization "organization_name"" will be used as description. Can be specified only if the bot is allowed to provide custom description