| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.ChatJoinResult
Synopsis
Documentation
data ChatJoinResult Source #
Describes result of join of a chat by the current user
Constructors
| ChatJoinResultSuccess | The chat was joined successfully |
| ChatJoinResultRequestSent | The join request was sent and have to be approved by administrators of the chat |
| ChatJoinResultGuardBotApprovalRequired | An approval from a guard bot through a Web App is required to join the chat |
| ChatJoinResultDeclined | The join was declined by the guard bot |
Instances
| FromJSON ChatJoinResult Source # | |
Defined in TD.Data.ChatJoinResult Methods parseJSON :: Value -> Parser ChatJoinResult # parseJSONList :: Value -> Parser [ChatJoinResult] # | |
| Show ChatJoinResult Source # | |
Defined in TD.Data.ChatJoinResult Methods showsPrec :: Int -> ChatJoinResult -> ShowS # show :: ChatJoinResult -> String # showList :: [ChatJoinResult] -> ShowS # | |
| Eq ChatJoinResult Source # | |
Defined in TD.Data.ChatJoinResult Methods (==) :: ChatJoinResult -> ChatJoinResult -> Bool # (/=) :: ChatJoinResult -> ChatJoinResult -> Bool # | |
| ShortShow ChatJoinResult Source # | |
Defined in TD.Data.ChatJoinResult Methods shortShow :: ChatJoinResult -> String Source # | |