captionEntities property

List<MessageEntity>? captionEntities
final

Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption

Implementation

final List<MessageEntity>? captionEntities;