BasicGroupFullInfo.fromJson constructor
Parse from a json
Implementation
factory BasicGroupFullInfo.fromJson(Map<String, dynamic> json) => BasicGroupFullInfo(
photo: json['photo'] == null ? null : ChatPhoto.fromJson(json['photo']),
description: json['description'],
creatorUserId: json['creator_user_id'],
members: List<ChatMember>.from((json['members'] ?? []).map((item) => ChatMember.fromJson(item)).toList()),
inviteLink: json['invite_link'] == null ? null : ChatInviteLink.fromJson(json['invite_link']),
botCommands: List<BotCommands>.from((json['bot_commands'] ?? []).map((item) => BotCommands.fromJson(item)).toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);