InputTextMessageContent class

Represents the content of a text message to be sent as the result of an inline query.

Inheritance

Constructors

InputTextMessageContent({required String messageText, ParseMode? parseMode, List<MessageEntity>? entities, LinkPreviewOptions? linkPreviewOptions})
Constructs an InputTextMessageContent object
const
InputTextMessageContent.fromJson(Map<String, dynamic> json)
Constructs an InputTextMessageContent object from a JSON object
factory

Properties

entities List<MessageEntity>?
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
final
hashCode int
The hash code for this object.
no setterinherited
linkPreviewOptions LinkPreviewOptions?
Optional. Disables link previews for links in the sent message
final
messageText String
Text of the message to be sent, 1-4096 characters
final
parseMode ParseMode?
Optional. Mode for parsing entities in the message text. See formatting options for more details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts an InputTextMessageContent object to a JSON object
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited