Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.GiveawayParticipantStatus
Synopsis
Documentation
data GiveawayParticipantStatus Source #
Contains information about status of a user in a giveaway
Constructors
GiveawayParticipantStatusEligible | The user is eligible for the giveaway |
GiveawayParticipantStatusParticipating | The user participates in the giveaway |
GiveawayParticipantStatusAlreadyWasMember | The user can't participate in the giveaway, because they have already been member of the chat |
Fields
| |
GiveawayParticipantStatusAdministrator | The user can't participate in the giveaway, because they are an administrator in one of the chats that created the giveaway |
GiveawayParticipantStatusDisallowedCountry | The user can't participate in the giveaway, because they phone number is from a disallowed country |
Fields
|
Instances
FromJSON GiveawayParticipantStatus Source # | |
Defined in TD.Data.GiveawayParticipantStatus Methods parseJSON :: Value -> Parser GiveawayParticipantStatus # parseJSONList :: Value -> Parser [GiveawayParticipantStatus] # | |
Show GiveawayParticipantStatus Source # | |
Defined in TD.Data.GiveawayParticipantStatus Methods showsPrec :: Int -> GiveawayParticipantStatus -> ShowS # show :: GiveawayParticipantStatus -> String # showList :: [GiveawayParticipantStatus] -> ShowS # | |
Eq GiveawayParticipantStatus Source # | |
Defined in TD.Data.GiveawayParticipantStatus Methods (==) :: GiveawayParticipantStatus -> GiveawayParticipantStatus -> Bool # (/=) :: GiveawayParticipantStatus -> GiveawayParticipantStatus -> Bool # | |
ShortShow GiveawayParticipantStatus Source # | |
Defined in TD.Data.GiveawayParticipantStatus Methods |