BotVerification.fromJson constructor
Parses a BotVerification from TDLib JSON.
Implementation
factory BotVerification.fromJson(Map<String, dynamic> json) =>
BotVerification(
botUserId: _readInt(json['bot_user_id']),
iconCustomEmojiId: _readInt(json['icon_custom_emoji_id']),
customDescription: _readObject(
json['custom_description'],
FormattedText.fromJson,
),
);