C# Class Telegram.Model.Wrappers.DialogListModel

ファイルを表示 Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method Description
DialogListModel ( TelegramSession session ) : System.Collections.Generic
DialogListModel ( TelegramSession session, BinaryReader reader ) : System.Collections.Generic
EncryptedRead ( int chatid, int maxdate, int date ) : void
EncryptedTyping ( int chatid ) : void
ProcessDialogs ( messages_Dialogs dialogsObject ) : int
ProcessNewMessage ( Message message ) : void
SetUserTyping ( int userid ) : void
SetUserTyping ( int chatid, int userid ) : void
UpDialog ( DialogModel dialog ) : void
Write ( BinaryWriter writer ) : void

Private Methods

Method Description
Read ( BinaryReader reader ) : void

Method Details

DialogListModel() public method

public DialogListModel ( TelegramSession session ) : System.Collections.Generic
session Telegram.MTProto.TelegramSession
return System.Collections.Generic

DialogListModel() public method

public DialogListModel ( TelegramSession session, BinaryReader reader ) : System.Collections.Generic
session Telegram.MTProto.TelegramSession
reader System.IO.BinaryReader
return System.Collections.Generic

EncryptedRead() public method

public EncryptedRead ( int chatid, int maxdate, int date ) : void
chatid int
maxdate int
date int
return void

EncryptedTyping() public method

public EncryptedTyping ( int chatid ) : void
chatid int
return void

ProcessDialogs() public method

public ProcessDialogs ( messages_Dialogs dialogsObject ) : int
dialogsObject messages_Dialogs
return int

ProcessNewMessage() public method

public ProcessNewMessage ( Message message ) : void
message Message
return void

SetUserTyping() public method

public SetUserTyping ( int userid ) : void
userid int
return void

SetUserTyping() public method

public SetUserTyping ( int chatid, int userid ) : void
chatid int
userid int
return void

UpDialog() public method

public UpDialog ( DialogModel dialog ) : void
dialog DialogModel
return void

Write() public method

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