textEntities property
Optional. List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.
Implementation
@JsonKey(name: 'text_entities')
List<MessageEntity>? get textEntities;