InputTextMessageContent class

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

https://core.telegram.org/bots/api#inputtextmessagecontent

Implemented types
Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

InputTextMessageContent({String? messageText, ParseMode? parseMode, bool? disableWebPagePreview})
InputTextMessageContent.fromJson(Map<String, dynamic> json)
factory

Properties

disableWebPagePreview ↔ bool?
Optional. Disables link previews for links in the sent message.
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. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
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<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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