MessageCopyOptions class

Options to be used when a message content is copied without reference to the original sender. Service messages and messageInvoice can't be copied.

Inheritance
Available Extensions

Constructors

MessageCopyOptions({required bool send_copy, required bool replace_caption, FormattedText? new_caption, int? extra, int? clientId})
Options to be used when a message content is copied without reference to the original sender. Service messages and messageInvoice can't be copied

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
new_caption FormattedText?
New message caption; pass null to copy message without caption. Ignored if replace_caption is false.
read / write
replace_caption bool
True, if media caption of the message copy needs to be replaced. Ignored if send_copy is false.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
send_copy bool
True, if content of the message needs to be copied without reference to the original sender. Always true if the message is forwarded to a secret chat or is local.
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) MessageCopyOptions?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"messageCopyOptions"