mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-07-01 15:45:31 +00:00
Replace the RichText.source extension property (a when over every subtype) with a rawText member declared on RichText and implemented directly by each inheritor: RichTextPlain.rawText = text, the wrapping entities delegate to text.rawText, and custom emoji / mathematical expression / anchor fall back to their own representation. Update the RichBlockPreformatted and media markdown builders and the formatting tests accordingly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>