| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.CommunityMemberStatus
Documentation
data CommunityMemberStatus Source #
Provides information about the status of a member in a community
Constructors
| CommunityMemberStatusCreator | The user is the owner of the community and has all the administrator privileges |
| CommunityMemberStatusAdministrator | The user is a member of the community and has some additional privileges |
Fields
| |
| CommunityMemberStatusMember | The user is a member of the community, without any additional privileges or restrictions |
| CommunityMemberStatusLeft | The user or the chat is not a community member |
| CommunityMemberStatusBanned | The user or the chat was banned in the community; implies ban in all chats in the community |
Instances
| FromJSON CommunityMemberStatus Source # | |
Defined in TD.Data.CommunityMemberStatus Methods parseJSON :: Value -> Parser CommunityMemberStatus # parseJSONList :: Value -> Parser [CommunityMemberStatus] # | |
| Show CommunityMemberStatus Source # | |
Defined in TD.Data.CommunityMemberStatus Methods showsPrec :: Int -> CommunityMemberStatus -> ShowS # show :: CommunityMemberStatus -> String # showList :: [CommunityMemberStatus] -> ShowS # | |
| Eq CommunityMemberStatus Source # | |
Defined in TD.Data.CommunityMemberStatus Methods (==) :: CommunityMemberStatus -> CommunityMemberStatus -> Bool # (/=) :: CommunityMemberStatus -> CommunityMemberStatus -> Bool # | |
| ShortShow CommunityMemberStatus Source # | |
Defined in TD.Data.CommunityMemberStatus Methods | |