aboutsummaryrefslogtreecommitdiffhomepage
path: root/td
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-06-24 21:56:38 +0300
committerlevlam <levlam@telegram.org>2026-06-24 21:56:38 +0300
commitfa0f4f2bcdddb43b8de0619ed9f6d82016262960 (patch)
tree6b8cead0107b1630baab92858c8cccde376251ab /td
parentbdf992bd5ad7eefdfea8e235baa2c34582d2a6b5 (diff)
Improve inputRichMessage documentation.
Diffstat (limited to 'td')
-rw-r--r--td/generate/scheme/td_api.tl6
1 files changed, 5 insertions, 1 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index 54d9798d7..46c2ac2de 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -138,7 +138,11 @@ richMessageSourceMarkdown text:string media:vector<inputRichMessageMedia> = Rich
//@description An HTML-formatted rich message; for bots only @text HTML-formatted text of the message @media Media used in the message
richMessageSourceHtml text:string media:vector<inputRichMessageMedia> = RichMessageSource;
-//@description A rich message to send
+//@description 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")
//@source Source of the rich message
//@is_rtl Pass true if the message must be shown from right to left
//@detect_automatic_blocks Pass true to enable detection of URLs, email addresses and other automatic blocks