CheckChatUsernameResult
public indirect enum CheckChatUsernameResult : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Represents result of checking whether a username can be set for a chat
-
The username can be set
Declaration
Swift
case ok -
The username is invalid
Declaration
Swift
case usernameInvalid -
The username is occupied
Declaration
Swift
case usernameOccupied -
The user has too much chats with username, one of them should be made private first
Declaration
Swift
case publicChatsTooMuch -
The user can’t be a member of a public supergroup
Declaration
Swift
case publicGroupsUnavailable
View on GitHub
Install in Dash
CheckChatUsernameResult Enumeration Reference