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).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
enabled | true | いいえ | If set, adds the verification; otherwise removes verification. |
bot | InputUser | いいえ | 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 | はい | The peer to verify |
custom_description | TextWithEntities | いいえ | 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. |
レスポンス
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.