Client class abstract

Constructors

Client.create()
Creates new Client.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updates → Stream<TdObject>
Receives incoming updates.
no setter

Methods

destroy() → void
Destroy client. Must be called once after initialization.
execute<T extends TdObject>(TdFunction function) → T
Synchronously executes a TDLib request. Only a few marked accordingly requests can be executed synchronously. Must be called after initialization.
initialize() → Future<void>
Client initiation. Must be called once after creation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T extends TdObject>(TdFunction function) → Future<T>
Sends a request to the TDLib. Must be called after initialization.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited