Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data CheckChatUsernameResult Source #
Represents result of checking whether a username can be set for a chat
CheckChatUsernameResultOk | The username can be set |
CheckChatUsernameResultUsernameInvalid | The username is invalid |
CheckChatUsernameResultUsernameOccupied | The username is occupied |
CheckChatUsernameResultUsernamePurchasable | The username can be purchased at https://fragment.com. Information about the username can be received using getCollectibleItemInfo |
CheckChatUsernameResultPublicChatsTooMany | The user has too many chats with username, one of them must be made private first |
CheckChatUsernameResultPublicGroupsUnavailable | The user can't be a member of a public supergroup |
Instances
FromJSON CheckChatUsernameResult Source # | |
Defined in TD.Data.CheckChatUsernameResult | |
Show CheckChatUsernameResult Source # | |
Defined in TD.Data.CheckChatUsernameResult showsPrec :: Int -> CheckChatUsernameResult -> ShowS # show :: CheckChatUsernameResult -> String # showList :: [CheckChatUsernameResult] -> ShowS # | |
Eq CheckChatUsernameResult Source # | |
Defined in TD.Data.CheckChatUsernameResult | |
ShortShow CheckChatUsernameResult Source # | |
Defined in TD.Data.CheckChatUsernameResult |