haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.Usernames

Documentation

data Usernames Source #

Constructors

Usernames

Describes usernames assigned to a user, a supergroup, or a channel

Fields

  • active_usernames :: Maybe [Text]

    List of active usernames; the first one must be shown as the primary username. The order of active usernames can be changed with reorderActiveUsernames, reorderBotActiveUsernames or reorderSupergroupActiveUsernames

  • disabled_usernames :: Maybe [Text]

    List of currently disabled usernames; the username can be activated with toggleUsernameIsActive, toggleBotUsernameIsActive, or toggleSupergroupUsernameIsActive

  • editable_username :: Maybe Text

    The active username, which can be changed with setUsername or setSupergroupUsername. Information about other active usernames can be received using getCollectibleItemInfo

Instances

Instances details
FromJSON Usernames Source # 
Instance details

Defined in TD.Data.Usernames

Show Usernames Source # 
Instance details

Defined in TD.Data.Usernames

Eq Usernames Source # 
Instance details

Defined in TD.Data.Usernames

ShortShow Usernames Source # 
Instance details

Defined in TD.Data.Usernames