GroupCallMessageLevel.fromJson constructor
Parses a GroupCallMessageLevel from TDLib JSON.
Implementation
factory GroupCallMessageLevel.fromJson(Map<String, dynamic> json) =>
GroupCallMessageLevel(
minStarCount: _readInt(json['min_star_count']),
pinDuration: _readInt(json['pin_duration']),
maxTextLength: _readInt(json['max_text_length']),
maxCustomEmojiCount: _readInt(json['max_custom_emoji_count']),
firstColor: _readInt(json['first_color']),
secondColor: _readInt(json['second_color']),
backgroundColor: _readInt(json['background_color']),
);