CheckUsername

class pyrogram.raw.functions.account.CheckUsername

Validates a username and checks availability.

Details
  • Layer: 126

  • ID: 0x2714d86c

Parameters

username (str) – usernameAccepted characters: A-z (case-insensitive), 0-9 and underscores.Length: 5-32 characters.

Returns

bool – Primitive type.