fromJson static method
Implementation
static InputRichMessage? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputRichMessage(
source: RichMessageSource.fromJson(tdMapFromJson(json['source'])),
isRtl: (json['is_rtl'] as bool?) ?? false,
detectAutomaticBlocks:
(json['detect_automatic_blocks'] as bool?) ?? false,
);
}