InputMessageText class

Implemented types

Constructors

InputMessageText({FormattedText text, bool disableWebPagePreview, bool clearDraft})
A text message. text Formatted text to be sent; 1-GetOption("message_text_length_max") characters. Only Bold, Italic, Code, Pre, PreCode and TextUrl entities are allowed to be specified manually. disableWebPagePreview True, if rich web page previews for URLs in the message text should be disabled . clearDraft True, if a chat message draft should be deleted
InputMessageText.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

clearDraft bool
read / write
disableWebPagePreview bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text FormattedText
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"inputMessageText"