entities property
List<MessageEntity> ?
get
entities
The message entities, if any.
These are special entities like mentions, hashtags, URLs, etc. The result is cached after the first access for better performance.
Implementation
List<MessageEntity>? get entities {
if (!_entitiesCached) {
_cachedEntities = msg?.entities;
_entitiesCached = true;
}
return _cachedEntities;
}