ChatEventInviteLinkRevoked.fromJson constructor

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

Parses a ChatEventInviteLinkRevoked from TDLib JSON.

Implementation

factory ChatEventInviteLinkRevoked.fromJson(Map<String, dynamic> json) =>
    ChatEventInviteLinkRevoked(
      inviteLink: _readObject(json['invite_link'], ChatInviteLink.fromJson),
    );