verifyUser¶
Returns: bool
- class litegram.methods.verify_user.VerifyUser(*, user_id: int, custom_description: str | None = None, **extra_data: Any)[source]¶
Verifies a user on behalf of the organization which is represented by the bot. Returns
Trueon success.
Usage¶
As bot method¶
result: bool = await bot.verify_user(...)
Method as object¶
Imports:
from litegram.methods.verify_user import VerifyUseralias:
from litegram.methods import VerifyUser
With specific bot¶
result: bool = await bot(VerifyUser(...))
As reply into Webhook in handler¶
return VerifyUser(...)