ImportMessages class

Imports messages exported from another app.

Returns Ok.

Inheritance
Available Extensions

Constructors

ImportMessages({required int chat_id, required InputFile message_file, required List<InputFile> attached_files, int? extra, int? clientId})
Imports messages exported from another app

Properties

attached_files List<InputFile>
Files used in the imported messages. Only inputFileLocal and inputFileGenerated are supported. The files must not be previously uploaded.
read / write
chat_id int
Identifier of a chat to which the messages will be imported. It must be an identifier of a private chat with a mutual contact or an identifier of a supergroup chat with can_change_info administrator right.
read / write
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
message_file InputFile
File with messages to import. Only inputFileLocal and inputFileGenerated are supported. The file must not be previously uploaded.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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) ImportMessages?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"importMessages"