UserPrivacySettingRuleExtensions extension
Methods
-
map<
TResult extends Object?> ({required TResult allowAll(UserPrivacySettingRuleAllowAll value), required TResult allowBots(UserPrivacySettingRuleAllowBots value), required TResult allowChatMembers(UserPrivacySettingRuleAllowChatMembers value), required TResult allowContacts(UserPrivacySettingRuleAllowContacts value), required TResult allowPremiumUsers(UserPrivacySettingRuleAllowPremiumUsers value), required TResult allowUsers(UserPrivacySettingRuleAllowUsers value), required TResult restrictAll(UserPrivacySettingRuleRestrictAll value), required TResult restrictBots(UserPrivacySettingRuleRestrictBots value), required TResult restrictChatMembers(UserPrivacySettingRuleRestrictChatMembers value), required TResult restrictContacts(UserPrivacySettingRuleRestrictContacts value), required TResult restrictUsers(UserPrivacySettingRuleRestrictUsers value)}) → TResult -
Available on UserPrivacySettingRule, provided by the UserPrivacySettingRuleExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult allowAll(UserPrivacySettingRuleAllowAll value)?, TResult allowBots(UserPrivacySettingRuleAllowBots value)?, TResult allowChatMembers(UserPrivacySettingRuleAllowChatMembers value)?, TResult allowContacts(UserPrivacySettingRuleAllowContacts value)?, TResult allowPremiumUsers(UserPrivacySettingRuleAllowPremiumUsers value)?, TResult allowUsers(UserPrivacySettingRuleAllowUsers value)?, TResult restrictAll(UserPrivacySettingRuleRestrictAll value)?, TResult restrictBots(UserPrivacySettingRuleRestrictBots value)?, TResult restrictChatMembers(UserPrivacySettingRuleRestrictChatMembers value)?, TResult restrictContacts(UserPrivacySettingRuleRestrictContacts value)?, TResult restrictUsers(UserPrivacySettingRuleRestrictUsers value)?, required TResult orElse()}) → TResult -
Available on UserPrivacySettingRule, provided by the UserPrivacySettingRuleExtensions extension