mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-07-01 15:45:31 +00:00
Add markdown and html as members of the RichText and RichBlock sealed interfaces and override them in every inheritor (RichTextPlain, RichTextGroup and all 21 RichBlock subtypes), mirroring the existing RichTextEntity implementation. The former RichText/RichBlock.markdown and .html extension properties (which dispatched via a when over each subtype) are removed; the shared RichBlock render helpers become internal so the overrides can reuse them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>