C# Class TLSharp.Core.Requests.AuthSendCodeRequest

Inheritance: MTProtoRequest
Show file Open project: sochix/TLSharp Class Usage Examples

Public Properties

Property Type Description
_phoneCodeHash string
_phoneRegistered bool
args SendCodeArgs

Public Methods

Method Description
AuthSendCodeRequest ( string phoneNumber, int smsType, int apiId, string apiHash, string langCode ) : System
OnException ( Exception exception ) : void
OnResponse ( BinaryReader reader ) : void
OnSend ( BinaryWriter writer ) : void

Method Details

AuthSendCodeRequest() public method

public AuthSendCodeRequest ( string phoneNumber, int smsType, int apiId, string apiHash, string langCode ) : System
phoneNumber string
smsType int
apiId int
apiHash string
langCode string
return System

OnException() public method

public OnException ( Exception exception ) : void
exception System.Exception
return void

OnResponse() public method

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

OnSend() public method

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

Property Details

_phoneCodeHash public property

public string _phoneCodeHash
return string

_phoneRegistered public property

public bool _phoneRegistered
return bool

args public property

public SendCodeArgs args
return SendCodeArgs