peyk.platforms.telegram.methods.verify_chat¶
- async peyk.platforms.telegram.methods.verify_chat(self, chat_id: int | str, *, custom_description: str | None = None) bool¶
Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.
- Parameters:
chat_id – Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username. Channel direct messages chats can’t be verified.
custom_description – Custom description for the verification; 0-70 characters. Must be empty if the organization isn’t allowed to provide a custom verification description.
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool