InternalLinkTypeMessageDraft class

The link contains a message draft text. A share screen needs to be shown to the user, then the chosen chat must be opened and the text is added to the input field.

Inheritance
Available Extensions

Constructors

InternalLinkTypeMessageDraft({required FormattedText text, required bool contains_link, int? extra, int? clientId})
The link contains a message draft text. A share screen needs to be shown to the user, then the chosen chat must be opened and the text is added to the input field

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
True, if the first line of the text contains a link. If true, the input field needs to be focused and the text after the link must be selected.
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
Message draft text.
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) InternalLinkTypeMessageDraft?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"internalLinkTypeMessageDraft"