ChatInviteLinkInfo.fromJson constructor
Parse from a json
Implementation
factory ChatInviteLinkInfo.fromJson(Map<String, dynamic> json) => ChatInviteLinkInfo(
chatId: json['chat_id'],
accessibleFor: json['accessible_for'],
type: ChatType.fromJson(json['type']),
title: json['title'],
photo: json['photo'] == null ? null : ChatPhotoInfo.fromJson(json['photo']),
description: json['description'],
memberCount: json['member_count'],
memberUserIds: List<int>.from((json['member_user_ids'] ?? []).map((item) => item).toList()),
createsJoinRequest: json['creates_join_request'],
isPublic: json['is_public'],
extra: json['@extra'],
clientId: json['@client_id'],
);