ChatEventLogFilters.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventLogFilters.fromJson(Map<String, dynamic> json) => ChatEventLogFilters(
  messageEdits: json['message_edits'],
  messageDeletions: json['message_deletions'],
  messagePins: json['message_pins'],
  memberJoins: json['member_joins'],
  memberLeaves: json['member_leaves'],
  memberInvites: json['member_invites'],
  memberPromotions: json['member_promotions'],
  memberRestrictions: json['member_restrictions'],
  infoChanges: json['info_changes'],
  settingChanges: json['setting_changes'],
  inviteLinkChanges: json['invite_link_changes'],
  videoChatChanges: json['video_chat_changes'],
);