C# Class Telegram.Model.Wrappers.DialogModelEncrypted

Inheritance: DialogModel
Mostra file Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method 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

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

Method Details

ClearDialogHistory() public method

public ClearDialogHistory ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

DialogModelEncrypted() public method

public DialogModelEncrypted ( TelegramSession session, BinaryReader reader ) : System
session Telegram.MTProto.TelegramSession
reader System.IO.BinaryReader
return System

DialogModelEncrypted() public method

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

DialogModelEncrypted() public method

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
return System

LoadMore() public method

public LoadMore ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LoadMorePossible() public method

public LoadMorePossible ( ) : bool
return bool

MarkEncryptedRead() public method

public MarkEncryptedRead ( int maxDate, int date ) : void
maxDate int
date int
return void

OpenedRead() public method

public OpenedRead ( ) : void
return void

Read() public method

public Read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

ReceiveMessage() public method

public ReceiveMessage ( EncryptedMessage encryptedMessage ) : void
encryptedMessage EncryptedMessage
return void

RemoveAndClearDialog() public method

public RemoveAndClearDialog ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SendMessage() public method

public SendMessage ( string message ) : Task
message string
return Task

SendRead() public method

public SendRead ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SendTyping() public method

public SendTyping ( bool typing ) : void
typing bool
return void

SetA() public method

public SetA ( byte a ) : void
a byte
return void

SetEncryptedChat() public method

public SetEncryptedChat ( EncryptedChatConstructor chat, byte a ) : void
chat EncryptedChatConstructor
a byte
return void

Write() public method

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void