peyk.platforms.telegram.methods.verify_user

async peyk.platforms.telegram.methods.verify_user(self, user_id: int, *, custom_description: str | None = None) bool

Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.

Parameters:
  • user_id – Unique identifier of the target user

  • 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