Client class abstract
Base class for the client.
Constructors
- Client()
- Constructor.
Properties
- account ↔ ClientAccount
-
Account part.
latefinal
- auth ↔ ClientAuth
-
Auth part.
latefinal
- bots ↔ ClientBots
-
Bots part.
latefinal
- channels ↔ ClientChannels
-
Channels part.
latefinal
- chatlists ↔ ClientChatlists
-
Chatlists part.
latefinal
- contacts ↔ ClientContacts
-
Contacts part.
latefinal
- folders ↔ ClientFolders
-
Folders part.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- help ↔ ClientHelp
-
Help part.
latefinal
- langpack ↔ ClientLangpack
-
Langpack part.
latefinal
- messages ↔ ClientMessages
-
Messages part.
latefinal
- payments ↔ ClientPayments
-
Payments part.
latefinal
- phone ↔ ClientPhone
-
Phone part.
latefinal
- photos ↔ ClientPhotos
-
Photos part.
latefinal
-
Premium part.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats ↔ ClientStats
-
Stats part.
latefinal
- stickers ↔ ClientStickers
-
Stickers part.
latefinal
- stories ↔ ClientStories
-
Stories part.
latefinal
- updates ↔ ClientUpdates
-
Updates part.
latefinal
- upload ↔ ClientUpload
-
Upload part.
latefinal
- users ↔ ClientUsers
-
Users part.
latefinal
Methods
-
initConnection<
T extends TlObject> ({required int apiId, required String deviceModel, required String systemVersion, required String appVersion, required String systemLangCode, required String langPack, required String langCode, InputClientProxyBase? proxy, JSONValueBase? params, required TlMethod query}) → Future< Result< T> > - Init Connection.
-
invoke(
TlMethod method) → Future< Result< TlObject> > -
Call the specified RPC
method
on the server. -
invokeAfterMsg<
T extends TlObject> ({required int msgId, required TlMethod query}) → Future< Result< T> > - Invoke After Msg.
-
invokeAfterMsgs<
T extends TlObject> ({required List< int> msgIds, required TlMethod query}) → Future<Result< T> > - Invoke After Msgs.
-
invokeWithLayer<
T extends TlObject> ({required int layer, required TlMethod query}) → Future< Result< T> > - Invoke With Layer.
-
invokeWithMessagesRange<
T extends TlObject> ({required MessageRangeBase range, required TlMethod query}) → Future< Result< T> > - Invoke With Messages Range.
-
invokeWithoutUpdates<
T extends TlObject> ({required TlMethod query}) → Future< Result< T> > - Invoke Without Updates.
-
invokeWithTakeout<
T extends TlObject> ({required int takeoutId, required TlMethod query}) → Future< Result< T> > - Invoke With Takeout.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited