C# Class Telegram.Model.Wrappers.DialogModelEncrypted

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

Méthodes publiques

Méthode Description
ClearDialogHistory ( ) : System.Threading.Tasks.Task
DialogModelEncrypted ( TelegramSession session, BinaryReader reader ) : System
DialogModelEncrypted ( TelegramSession session, EncryptedChat chat, byte a ) : System
DialogModelEncrypted ( TelegramSession session, EncryptedChat chat, byte key, long fingerprint, byte a ) : System
LoadMore ( ) : System.Threading.Tasks.Task
LoadMorePossible ( ) : bool
MarkEncryptedRead ( int maxDate, int date ) : void
OpenedRead ( ) : void
Read ( BinaryReader reader ) : void
ReceiveMessage ( EncryptedMessage encryptedMessage ) : void
RemoveAndClearDialog ( ) : System.Threading.Tasks.Task
SendMessage ( string message ) : Task
SendRead ( ) : System.Threading.Tasks.Task
SendTyping ( bool typing ) : void
SetA ( byte a ) : void
SetEncryptedChat ( EncryptedChatConstructor chat, byte a ) : void
Write ( BinaryWriter writer ) : void

Private Methods

Méthode Description
DelayedDestroyMessage ( MessageModel message ) : System.Threading.Tasks.Task
UpdateTTL ( int ttlSeconds ) : void

Method Details

ClearDialogHistory() public méthode

public ClearDialogHistory ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

DialogModelEncrypted() public méthode

public DialogModelEncrypted ( TelegramSession session, BinaryReader reader ) : System
session Telegram.MTProto.TelegramSession
reader System.IO.BinaryReader
Résultat System

DialogModelEncrypted() public méthode

public DialogModelEncrypted ( TelegramSession session, EncryptedChat chat, byte a ) : System
session Telegram.MTProto.TelegramSession
chat EncryptedChat
a byte
Résultat System

DialogModelEncrypted() public méthode

public DialogModelEncrypted ( TelegramSession session, EncryptedChat chat, byte key, long fingerprint, byte a ) : System
session Telegram.MTProto.TelegramSession
chat EncryptedChat
key byte
fingerprint long
a byte
Résultat System

LoadMore() public méthode

public LoadMore ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

LoadMorePossible() public méthode

public LoadMorePossible ( ) : bool
Résultat bool

MarkEncryptedRead() public méthode

public MarkEncryptedRead ( int maxDate, int date ) : void
maxDate int
date int
Résultat void

OpenedRead() public méthode

public OpenedRead ( ) : void
Résultat void

Read() public méthode

public Read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void

ReceiveMessage() public méthode

public ReceiveMessage ( EncryptedMessage encryptedMessage ) : void
encryptedMessage EncryptedMessage
Résultat void

RemoveAndClearDialog() public méthode

public RemoveAndClearDialog ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SendMessage() public méthode

public SendMessage ( string message ) : Task
message string
Résultat Task

SendRead() public méthode

public SendRead ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SendTyping() public méthode

public SendTyping ( bool typing ) : void
typing bool
Résultat void

SetA() public méthode

public SetA ( byte a ) : void
a byte
Résultat void

SetEncryptedChat() public méthode

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

Write() public méthode

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