InputMessageText class

Inheritance

Constructors

InputMessageText({FormattedText text, bool disableWebPagePreview, bool clearDraft})
A text message
InputMessageText.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

clearDraft bool
clearDraft True, if a chat message draft should be deleted
read / write
disableWebPagePreview bool
disableWebPagePreview True, if rich web page previews for URLs in the message text should be disabled
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
text Formatted text to be sent; 1-GetOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'inputMessageText'