InputMessageText class
A text message.
- Inheritance
-
- Object
- TlObject
- InputMessageContent
- InputMessageText
- Available Extensions
Constructors
- InputMessageText({required FormattedText text, required bool disable_web_page_preview, required bool clear_draft, int? extra, int? clientId})
- A text message
Properties
- clear_draft ↔ bool
-
True, if a chat message draft must be deleted.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- disable_web_page_preview ↔ bool
-
True, if rich web page previews for URLs in the message text must be disabled.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- text ↔ FormattedText
-
Formatted text to be sent; 1-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → InputMessageText? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inputMessageText"