UserPrivacySettingRuleAllowUsers.fromJson constructor

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

Parses a UserPrivacySettingRuleAllowUsers from TDLib JSON.

Implementation

factory UserPrivacySettingRuleAllowUsers.fromJson(
  Map<String, dynamic> json,
) => UserPrivacySettingRuleAllowUsers(
  userIds: _readList<int>(json['user_ids'], _readInt),
);