mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-07-03 00:25:29 +00:00
For every RichText and RichBlock type the markdown and html rendering now lives in companion-object functions taking the relevant fields, and the property overrides are plain value initializers that reuse those functions (e.g. RichTextEmailAddress.markdown(text, emailAddress)). Class-specific render helpers (list, table, map, block quotation, details open attribute) move into the matching companions; helpers shared across several types (credit cite, media and media container rendering) stay internal top-level functions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>