Closed doryan04 closed 5 months ago
This solution will help to avoid an error, yes, but you should not use for ExpandableBlockquote
entity Formatter::blockquote
method, because they are not identical.
I think we need to add new method expandable_blockquote
to Formatter
trait like blockquote
and implement it in HTMLFormatter
and MarkdownFormatter
.
Difference between expandable_blockquote
and blockquote
methods:
<blockquote>{text}</blockquote>
=> <blockquote expandable>{text}</blockquote>
old code
=> old code + "||"
Thanks for the commit, I will continue working in a separate branch
A few days ago Bot API 7.4 was released, and it featured new entities - expandable blockquote.
Bot, written on telers, can't process message with new kind entity, and as result, bot will temporarily stop working. I suggest you to merge my branch with new Bot API feature.