InputTextMessageContent class

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

Inheritance

Constructors

InputTextMessageContent(String messageText, {ParseMode? parseMode, List<MessageEntity>? entities, bool? disableWebPagePreview})
Basic constructor

Properties

disableWebPagePreview ↔ bool?
Optional. Disables link previews for links in the sent message
getter/setter pair
entities ↔ List<MessageEntity>?
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
messageText ↔ String
Text of the message to be sent, 1-4096 characters
getter/setter pair
parseMode ↔ ParseMode?
Optional. Mode for parsing entities in the message text.
getter/setter pair
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
Creates a json from the object
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → InputTextMessageContent
Creates a object from a json