TextWithEntities #

Styled text with message entities

End-to-end schema #

===216===
textWithEntities#751f3146 text:string entities:Vector<MessageEntity> = TextWithEntities;

API schema:

Layer 223

textWithEntities#751f3146 text:string entities:Vector<MessageEntity> = TextWithEntities;

---functions---

messages.summarizeText#9d4104e2 flags:# peer:InputPeer id:int to_lang:flags.0?string = TextWithEntities;

Constructors #

ConstructorDescription
textWithEntitiesStyled text with message entities

Methods #

MethodDescription
messages.summarizeTextSummarize the contents of a message with AI, see here » for more info.

Clients should use message.summary_from_language as a hint for showing a summarization button; its absence does not forbid invoking this method.

Styled text with message entities #

How to create styled text with message entities