toJson method
Converts an InputTextMessageContent object to a JSON object
Implementation
@override
Map<String, dynamic> toJson() {
return {
'message_text': messageText,
'parse_mode': parseMode?.value,
'entities': entities?.map((e) => e.toJson()).toList(),
'link_preview_options': linkPreviewOptions?.toJson(),
}..removeWhere(_nullFilter);
}