Skip to content

checkBotUsername

Function · TDLib 1.8.67 · d1085f9c

Checks whether a username can be set for a new bot. Use checkChatUsername to check username for other chat types

checkBotUsername(
  username: string
) → CheckChatUsernameResult

username

string

Username to be checked