C# Class Telegram.MTProto.TelegramFileSession

Inheritance: ISession
Show file Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method Description
GenerateSequence ( bool confirmed ) : int
Read ( BinaryReader reader ) : void
TelegramFileSession ( BinaryReader reader ) : System
TelegramFileSession ( ulong id, int sequence ) : System
Write ( BinaryWriter writer ) : void

Method Details

GenerateSequence() public method

public GenerateSequence ( bool confirmed ) : int
confirmed bool
return int

Read() public method

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

TelegramFileSession() public method

public TelegramFileSession ( BinaryReader reader ) : System
reader System.IO.BinaryReader
return System

TelegramFileSession() public method

public TelegramFileSession ( ulong id, int sequence ) : System
id ulong
sequence int
return System

Write() public method

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