| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.SearchChatTypeFilter
Documentation
data SearchChatTypeFilter Source #
Represents a filter for type of the chats to search for
Constructors
| SearchChatTypeFilterBot | Returns only private chats with bots |
| SearchChatTypeFilterChannel | Returns only channel chats |
Instances
| FromJSON SearchChatTypeFilter Source # | |
Defined in TD.Data.SearchChatTypeFilter Methods parseJSON :: Value -> Parser SearchChatTypeFilter # parseJSONList :: Value -> Parser [SearchChatTypeFilter] # | |
| ToJSON SearchChatTypeFilter Source # | |
Defined in TD.Data.SearchChatTypeFilter Methods toJSON :: SearchChatTypeFilter -> Value # toEncoding :: SearchChatTypeFilter -> Encoding # toJSONList :: [SearchChatTypeFilter] -> Value # toEncodingList :: [SearchChatTypeFilter] -> Encoding # | |
| Show SearchChatTypeFilter Source # | |
Defined in TD.Data.SearchChatTypeFilter Methods showsPrec :: Int -> SearchChatTypeFilter -> ShowS # show :: SearchChatTypeFilter -> String # showList :: [SearchChatTypeFilter] -> ShowS # | |
| Eq SearchChatTypeFilter Source # | |
Defined in TD.Data.SearchChatTypeFilter Methods (==) :: SearchChatTypeFilter -> SearchChatTypeFilter -> Bool # (/=) :: SearchChatTypeFilter -> SearchChatTypeFilter -> Bool # | |
| ShortShow SearchChatTypeFilter Source # | |
Defined in TD.Data.SearchChatTypeFilter Methods | |