Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data SupergroupMembersFilter
Documentation
data SupergroupMembersFilter Source #
Specifies the kind of chat members to return in getSupergroupMembers
SupergroupMembersFilterRecent | Returns recently active users in reverse chronological order |
SupergroupMembersFilterContacts | Returns contacts of the user, which are members of the supergroup or channel |
SupergroupMembersFilterAdministrators | Returns the owner and administrators |
SupergroupMembersFilterSearch | Used to search for supergroup or channel members via a (string) query |
SupergroupMembersFilterRestricted | Returns restricted supergroup members; can be used only by administrators |
SupergroupMembersFilterBanned | Returns users banned from the supergroup or channel; can be used only by administrators |
SupergroupMembersFilterMention | Returns users which can be mentioned in the supergroup |
SupergroupMembersFilterBots | Returns bot members of the supergroup or channel |
Instances
FromJSON SupergroupMembersFilter Source # | |
Defined in TD.Data.SupergroupMembersFilter | |
ToJSON SupergroupMembersFilter Source # | |
Defined in TD.Data.SupergroupMembersFilter | |
Show SupergroupMembersFilter Source # | |
Defined in TD.Data.SupergroupMembersFilter showsPrec :: Int -> SupergroupMembersFilter -> ShowS # show :: SupergroupMembersFilter -> String # showList :: [SupergroupMembersFilter] -> ShowS # | |
Eq SupergroupMembersFilter Source # | |
Defined in TD.Data.SupergroupMembersFilter | |
ShortShow SupergroupMembersFilter Source # | |
Defined in TD.Data.SupergroupMembersFilter |