Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data ChatMembersFilter Source #
Specifies the kind of chat members to return in searchChatMembers
ChatMembersFilterContacts | Returns contacts of the user |
ChatMembersFilterAdministrators | Returns the owner and administrators |
ChatMembersFilterMembers | Returns all chat members, including restricted chat members |
ChatMembersFilterMention | Returns users which can be mentioned in the chat |
| |
ChatMembersFilterRestricted | Returns users under certain restrictions in the chat; can be used only by administrators in a supergroup |
ChatMembersFilterBanned | Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel |
ChatMembersFilterBots | Returns bot members of the chat |
Instances
FromJSON ChatMembersFilter Source # | |
Defined in TD.Data.ChatMembersFilter parseJSON :: Value -> Parser ChatMembersFilter # parseJSONList :: Value -> Parser [ChatMembersFilter] # | |
ToJSON ChatMembersFilter Source # | |
Defined in TD.Data.ChatMembersFilter toJSON :: ChatMembersFilter -> Value # toEncoding :: ChatMembersFilter -> Encoding # toJSONList :: [ChatMembersFilter] -> Value # toEncodingList :: [ChatMembersFilter] -> Encoding # | |
Show ChatMembersFilter Source # | |
Defined in TD.Data.ChatMembersFilter showsPrec :: Int -> ChatMembersFilter -> ShowS # show :: ChatMembersFilter -> String # showList :: [ChatMembersFilter] -> ShowS # | |
Eq ChatMembersFilter Source # | |
Defined in TD.Data.ChatMembersFilter (==) :: ChatMembersFilter -> ChatMembersFilter -> Bool # (/=) :: ChatMembersFilter -> ChatMembersFilter -> Bool # | |
ShortShow ChatMembersFilter Source # | |
Defined in TD.Data.ChatMembersFilter shortShow :: ChatMembersFilter -> String Source # |