bots.CheckUsername¶
- class pyrogram.raw.functions.bots.CheckUsername[source]¶
Check whether a username is available and valid for use when creating a managed bot ».
Usable by Users Bots- Details:
Layer:
230ID:
E3AC4C61
- Parameters:
username (
str) – Username to check; only letters, digits and underscores are allowed, must end inbot, and the full username must be 5–32 characters longadditional (
bool, optional) – N/A
- Returns:
bool