InputRichMessage constructor

const InputRichMessage({
  1. required RichMessageSource source,
  2. required bool isRtl,
  3. required bool detectAutomaticBlocks,
})

A rich message to send. Total length of all texts, including custom emoji alternative text and formula source, must not exceed getOption("rich_message_text_length_max"). The total number of all blocks, list items and table rows must not exceed getOption("rich_message_block_count_max"). The maximum allowed depth of nested blocks and rich texts is getOption("rich_message_depth_max"). The total number of media in all blocks must not exceed getOption("rich_message_media_count_max"). The maximum allowed number of table columns is getOption("rich_message_table_column_count_max")

Implementation

const InputRichMessage({
  required this.source,
  required this.isRtl,
  required this.detectAutomaticBlocks,
});