The text to search within.
The array of message entities.
Retrieves all blockquote entities from the message.
An array of objects representing blockquote entities.
Retrieves all bold entities from the message.
An array of objects representing bold entities.
Retrieves all bot command entities from the message.
An array of objects representing bot command entities.
Retrieves all cashtag entities from the message.
An array of objects representing cashtag entities.
Retrieves all code entities from the message.
An array of objects representing code entities.
Retrieves all email entities from the message.
An array of objects representing email entities.
Retrieves all hashtag entities from the message.
An array of objects representing hashtag entities.
Retrieves all italic entities from the message.
An array of objects representing italic entities.
Retrieves all mention entities from the message.
An array of objects representing mention entities.
Retrieves all phone number entities from the message.
An array of objects representing phone number entities.
Retrieves all spoiler entities from the message.
An array of objects representing spoiler entities.
Retrieves all strikethrough entities from the message.
An array of objects representing strikethrough entities.
Retrieves all underline entities from the message.
An array of objects representing underline entities.
Retrieves all URL entities from the message.
An array of objects representing URL entities.
Enables iteration over the message entities.
An iterator over the message entities.
Searches for a specific type of entity in the message.
The type of entity to search for.
An array of objects representing the found entities.
Creates an instance of the MessageEntities class.