UserPrivacySettingRuleAllowContacts.fromJson constructor

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

Parses a UserPrivacySettingRuleAllowContacts from TDLib JSON.

Implementation

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