CaptionWithEntities
ref / parse-mode / CaptionWithEntities
Represents caption object with optional formatting entities.
This interface is used to store plain caption along with its associated formatting information (such as bold, italic, links, etc.) as message entities.
Properties
caption
ts
caption: string;
Plain caption value for this Formatted
caption_entities
ts
caption_entities?: MessageEntity[];
Format caption_entities for this Formatted