Convert a tl.TypeRichText tree back into a TextWithEntities.
This conversion is lossy: rich text nodes that have no message entity equivalent (e.g. textMarked, textSubscript, anchors, images) are dropped, keeping only their textual content.
textMarked
textSubscript
Convert a tl.TypeRichText tree back into a TextWithEntities.
This conversion is lossy: rich text nodes that have no message entity equivalent (e.g.
textMarked,textSubscript, anchors, images) are dropped, keeping only their textual content.