UserPrivacySettingRuleAllowChatMembers.fromJson constructor

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

Parses a UserPrivacySettingRuleAllowChatMembers from TDLib JSON.

Implementation

factory UserPrivacySettingRuleAllowChatMembers.fromJson(
        Map<String, dynamic> json) =>
    UserPrivacySettingRuleAllowChatMembers(
      chatIds: _readList<int>(json['chat_ids'], _readInt),
    );