Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
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 | |
Результат | int |
public GetChat ( int id ) : |
||
id | int | |
Результат |
public GetUser ( int id ) : |
||
id | int | |
Результат |
public SaveAuthorization ( auth_Authorization authorization ) : Task | ||
authorization | auth_Authorization | |
Результат | Task |
public TelegramSession ( |
||
reader | ||
Результат | System |
public TelegramSession ( ulong id, int sequence ) : System | ||
id | ulong | |
sequence | int | |
Результат | System |
public read ( |
||
reader | ||
Результат | void |
public write ( |
||
writer | ||
Результат | void |