bots.SetCustomVerification#

class pyrogram.raw.functions.bots.SetCustomVerification#

Verify a user or chat on behalf of an organization .

Details:
  • Layer: 211

  • ID: 8B89DFBD

Parameters:
  • peer (InputPeer) – The peer to verify

  • enabled (bool, optional) – If set, adds the verification; otherwise removes verification.

  • bot (InputUser, optional) – Must not be set if invoked by a bot, must be set to the ID of an owned bot if invoked by a user.

  • custom_description (str, optional) – Custom description for the verification, the UTF-8 length limit for this field is contained in bot_verification_description_length_limit ». If not set, Was verified by organization “organization_name” will be used as description.

Returns:

bool