C# Class Telegram.MTProto.Components.EncryptedChats

Afficher le fichier Open project: naphaso/kilogram Class Usage Examples

Méthodes publiques

Méthode Description
CalculateKeyFingerprint ( byte key ) : long
CreateChatRequest ( InputUser user ) : System.Threading.Tasks.Task
EncryptedChats ( TelegramSession session ) : System
EncryptedChats ( TelegramSession session, BinaryReader reader ) : System
UpdateChat ( EncryptedChat chat, byte a = null ) : void
UpdateChat ( EncryptedChatConstructor chat, byte a ) : void
UpdateChat ( EncryptedChatDiscardedConstructor chat, byte a ) : void
UpdateChat ( EncryptedChatRequestedConstructor chat, byte a ) : void
UpdateChat ( EncryptedChatWaitingConstructor chat, byte a ) : void
UpdateChatHandler ( EncryptedChat chat ) : void
Write ( BinaryWriter writer ) : void

Private Methods

Méthode Description
CreateChatResponse ( EncryptedChatRequestedConstructor chat ) : System.Threading.Tasks.Task
GetSaltedRandomBytes ( int bytesCount, byte salt, int offset ) : byte[]
Read ( BinaryReader reader ) : void

Method Details

CalculateKeyFingerprint() public static méthode

public static CalculateKeyFingerprint ( byte key ) : long
key byte
Résultat long

CreateChatRequest() public méthode

public CreateChatRequest ( InputUser user ) : System.Threading.Tasks.Task
user InputUser
Résultat System.Threading.Tasks.Task

EncryptedChats() public méthode

public EncryptedChats ( TelegramSession session ) : System
session TelegramSession
Résultat System

EncryptedChats() public méthode

public EncryptedChats ( TelegramSession session, BinaryReader reader ) : System
session TelegramSession
reader System.IO.BinaryReader
Résultat System

UpdateChat() public méthode

public UpdateChat ( EncryptedChat chat, byte a = null ) : void
chat EncryptedChat
a byte
Résultat void

UpdateChat() public méthode

public UpdateChat ( EncryptedChatConstructor chat, byte a ) : void
chat EncryptedChatConstructor
a byte
Résultat void

UpdateChat() public méthode

public UpdateChat ( EncryptedChatDiscardedConstructor chat, byte a ) : void
chat EncryptedChatDiscardedConstructor
a byte
Résultat void

UpdateChat() public méthode

public UpdateChat ( EncryptedChatRequestedConstructor chat, byte a ) : void
chat EncryptedChatRequestedConstructor
a byte
Résultat void

UpdateChat() public méthode

public UpdateChat ( EncryptedChatWaitingConstructor chat, byte a ) : void
chat EncryptedChatWaitingConstructor
a byte
Résultat void

UpdateChatHandler() public méthode

public UpdateChatHandler ( EncryptedChat chat ) : void
chat EncryptedChat
Résultat void

Write() public méthode

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void