Enum rtdlib::types::SupergroupMembersFilter [−][src]
pub enum SupergroupMembersFilter {
Administrators(SupergroupMembersFilterAdministrators),
Banned(SupergroupMembersFilterBanned),
Bots(SupergroupMembersFilterBots),
Contacts(SupergroupMembersFilterContacts),
Mention(SupergroupMembersFilterMention),
Recent(SupergroupMembersFilterRecent),
Restricted(SupergroupMembersFilterRestricted),
Search(SupergroupMembersFilterSearch),
// some variants omitted
}
Expand description
Specifies the kind of chat members to return in getSupergroupMembers
Variants
Returns the owner and administrators
Tuple Fields of Administrators
Returns users banned from the supergroup or channel; can be used only by administrators
Tuple Fields of Banned
Returns bot members of the supergroup or channel
Tuple Fields of Bots
Returns contacts of the user, which are members of the supergroup or channel
Tuple Fields of Contacts
Returns users which can be mentioned in the supergroup
Tuple Fields of Mention
Returns recently active users in reverse chronological order
Tuple Fields of Recent
Returns restricted supergroup members; can be used only by administrators
Tuple Fields of Restricted
Used to search for supergroup or channel members via a (string) query
Tuple Fields of Search
Implementations
pub fn on_administrators<F: FnOnce(&SupergroupMembersFilterAdministrators)>(
&self,
fnc: F
) -> &Self
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<SupergroupMembersFilter, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SupergroupMembersFilter, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SupergroupMembersFilter
impl Send for SupergroupMembersFilter
impl Sync for SupergroupMembersFilter
impl Unpin for SupergroupMembersFilter
impl UnwindSafe for SupergroupMembersFilter
Blanket Implementations
Mutably borrows from an owned value. Read more