UserSupportInfo.fromJson constructor

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

Parses a UserSupportInfo from TDLib JSON.

Implementation

factory UserSupportInfo.fromJson(Map<String, dynamic> json) =>
    UserSupportInfo(
      message: _readObject(json['message'], FormattedText.fromJson),
      author: _readString(json['author']),
      date: _readInt(json['date']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );