bots.setCustomVerification
Verify a user or chat on behalf of an organization ».
Verify a user or chat [on behalf of an organization »](https://core.telegram.org/api/bots/verification.md).
| Name | Type | Required | Description |
|---|---|---|---|
enabled | true | No | If set, adds the verification; otherwise removes verification. |
bot | InputUser | No | Must **not** be set if invoked by a bot, **must** be set to the ID of an owned bot if invoked by a user. |
peer | InputPeer | Yes | The peer to verify |
custom_description | TextWithEntities | No | Custom description for the verification, the UTF-8 length limit for this field is contained in [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit). If not set, `Was verified by organization "organization_name"` will be used as description. |
Responses
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.
- 403 · BOT_VERIFIER_FORBIDDEN — This bot cannot assign [verification icons](https://core.telegram.org/api/bots/verification.md).
- 400 · PEER_ID_INVALID — The provided peer id is invalid.