UserPrivacySettingRuleRestrictBots.fromJson constructor

UserPrivacySettingRuleRestrictBots.fromJson(
  1. Map<String, dynamic> json
)

Parses a UserPrivacySettingRuleRestrictBots from TDLib JSON.

Implementation

factory UserPrivacySettingRuleRestrictBots.fromJson(
  Map<String, dynamic> json,
) => const UserPrivacySettingRuleRestrictBots();