fromJson static method
Implementation
static BusinessChatLinkInfo? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return BusinessChatLinkInfo(
chatId: (json['chat_id'] as int?) ?? 0,
text: FormattedText.fromJson(tdMapFromJson(json['text'])),
);
}