Method | Description | |
---|---|---|
AuthorizationExists ( ) : bool | ||
ConnectAsync ( ) : Task | ||
GenerateSequence ( bool confirmed ) : int | ||
GetChat ( int id ) : |
||
GetFileSession ( int dc ) : Task |
||
GetFileSessionMain ( ) : Task |
||
GetUser ( int id ) : |
||
GoToOffline ( ) : Task | ||
GoToOnline ( ) : Task | ||
Migrate ( int dc ) : Task | ||
SaveAuthorization ( auth_Authorization authorization ) : Task | ||
SaveChat ( Chat chat ) : void | ||
SaveUser ( User user ) : void | ||
SetMainDcId ( int id ) : void | ||
TelegramSession ( |
||
TelegramSession ( ulong id, int sequence ) : System | ||
ToString ( ) : string | ||
clear ( ) : void | ||
deserialize ( byte data ) : void | ||
read ( |
||
save ( ) : void | ||
serialize ( ) : byte[] | ||
write ( |
Method | Description | |
---|---|---|
CleanContacts ( ) : void | ||
GatewayOnBrokenSessionEvent ( ) : void | ||
SaveSessionTimer ( ) : Task | ||
SetUserName ( int userId, string firstName, string lastName ) : void | ||
SetUserPhoto ( int userId, int date, UserProfilePhoto photo, bool previous ) : void | ||
SetUserStatus ( int userId, UserStatus status ) : void | ||
SubscribeToUpdates ( ) : void | ||
loadIfExists ( ) : |
public GenerateSequence ( bool confirmed ) : int | ||
confirmed | bool | |
return | int |
public GetChat ( int id ) : |
||
id | int | |
return |
public GetUser ( int id ) : |
||
id | int | |
return |
public SaveAuthorization ( auth_Authorization authorization ) : Task | ||
authorization | auth_Authorization | |
return | Task |
public TelegramSession ( |
||
reader | ||
return | System |
public TelegramSession ( ulong id, int sequence ) : System | ||
id | ulong | |
sequence | int | |
return | System |
public read ( |
||
reader | ||
return | void |
public write ( |
||
writer | ||
return | void |