InternalLinkTypeMessageDraft class
- Inheritance
-
- Object
- TdObject
- InternalLinkType
- InternalLinkTypeMessageDraft
Constructors
- InternalLinkTypeMessageDraft({required FormattedText text, required bool containsLink, dynamic 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
const
-
InternalLinkTypeMessageDraft.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- containsLink → bool
-
containsLink 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
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → FormattedText
-
text Message draft text
final
Methods
-
copyWith(
{FormattedText? text, bool? containsLink, dynamic extra, int? clientId}) → InternalLinkTypeMessageDraft -
override
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → 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