ChatEventInviteLinkEdited.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventInviteLinkEdited.fromJson(Map<String, dynamic> json) =>
    ChatEventInviteLinkEdited(
      oldInviteLink: ChatInviteLink.fromJson(json['old_invite_link']),
      newInviteLink: ChatInviteLink.fromJson(json['new_invite_link']),
    );