The client that instantiated this.
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.
A collection of bold entities.
Retrieves all bot command entities from the message.
A collection of bot command entities.
Retrieves all cashtag entities from the message.
A collection of cashtag entities.
The client that instantiated this
Retrieves all code entities from the message.
A collection of code entities.
Retrieves all custom emoji entities from the message.
A collection of custom emoji entities.
Retrieves all email entities from the message.
A collection of email entities.
Retrieves all hashtag entities from the message.
A collection of hashtag entities.
Retrieves all italic entities from the message.
A collection of italic entities.
Retrieves all mention entities from the message.
A collection of mention entities.
Retrieves all phone number entities from the message.
A collection of phone number entities.
Retrieves all pre entities from the message.
A collection of pre entities.
Retrieves all spoiler entities from the message.
A collection of spoiler entities.
Retrieves all strikethrough entities from the message.
A collection of strikethrough entities.
Retrieves all text link entities from the message.
A collection of text link entities.
Retrieves all text mention entities from the message.
A collection of text mention entities.
Retrieves all underline entities from the message.
A collection of underline entities.
Retrieves all URL entities from the message.
A collection of url entities.
Protected_Protected_ProtectedPatches the current instance with new data
The data to patch the instance with
The patched data
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Enables iteration over the message entities.
An iterator over the message entities.
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
Creates an instance of the MessageEntities class.