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 | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
enabled | true | Nein | If set, adds the verification; otherwise removes verification. |
bot | InputUser | Nein | 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 | Ja | The peer to verify |
custom_description | TextWithEntities | Nein | Benutzerdefinierte Beschreibung für die Überprüfung, die Längenbeschränkung von UTF-8 für dieses Feld ist in [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit)“ enthalten. Wenn nicht festgelegt, wird `Was verified by organization "organization_name"` als Beschreibung verwendet. |
Antworten
Bool
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.
- 403 · BOT_VERIFIER_FORBIDDEN – Dieser Bot kann keine [Verifizierungssymbole](https://core.telegram.org/api/bots/verification.md) zuweisen.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.