C# 클래스 WhatsAppApi.WhatsApp

Main api interface
파일 보기 프로젝트 열기: rquiroz/WhatsAPINet 1 사용 예제들

공개 메소드들

메소드 설명
AddMessage ( ProtocolTreeNode node ) : void
Connect ( ) : void
GetAccountInfo ( ) : AccountInfo
GetAllMessages ( ) : WhatsAppApi.Helper.ProtocolTreeNode[]
HasMessages ( ) : bool
Login ( ) : void
Message ( string to, string txt ) : void
MessageImage ( string msgid, string to, string url, string file, string size, string icon ) : void
PollMessages ( ) : void
Pong ( string msgid ) : void
RequestLastSeen ( string jid ) : void
WhatsApp ( string phoneNum, string imei, string nick, bool debug = false ) : System
encryptPassword ( ) : string
sendNickname ( string nickname ) : void

보호된 메소드들

메소드 설명
DebugPrint ( string debugMsg ) : void
addAuth ( ) : ProtocolTreeNode
addAuthResponse ( ) : ProtocolTreeNode
addFeatures ( ) : ProtocolTreeNode
authenticate ( string nonce ) : string
processChallenge ( ProtocolTreeNode node ) : void
processInboundData ( string data ) : void
sendMessageReceived ( ProtocolTreeNode msg ) : void

비공개 메소드들

메소드 설명
PrintInfo ( string p ) : void
md5 ( string pass ) : string

메소드 상세

AddMessage() 공개 메소드

public AddMessage ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
리턴 void

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

DebugPrint() 보호된 메소드

protected DebugPrint ( string debugMsg ) : void
debugMsg string
리턴 void

GetAccountInfo() 공개 메소드

public GetAccountInfo ( ) : AccountInfo
리턴 WhatsAppApi.Helper.AccountInfo

GetAllMessages() 공개 메소드

public GetAllMessages ( ) : WhatsAppApi.Helper.ProtocolTreeNode[]
리턴 WhatsAppApi.Helper.ProtocolTreeNode[]

HasMessages() 공개 메소드

public HasMessages ( ) : bool
리턴 bool

Login() 공개 메소드

public Login ( ) : void
리턴 void

Message() 공개 메소드

public Message ( string to, string txt ) : void
to string
txt string
리턴 void

MessageImage() 공개 메소드

public MessageImage ( string msgid, string to, string url, string file, string size, string icon ) : void
msgid string
to string
url string
file string
size string
icon string
리턴 void

PollMessages() 공개 메소드

public PollMessages ( ) : void
리턴 void

Pong() 공개 메소드

public Pong ( string msgid ) : void
msgid string
리턴 void

RequestLastSeen() 공개 메소드

public RequestLastSeen ( string jid ) : void
jid string
리턴 void

WhatsApp() 공개 메소드

public WhatsApp ( string phoneNum, string imei, string nick, bool debug = false ) : System
phoneNum string
imei string
nick string
debug bool
리턴 System

addAuth() 보호된 메소드

protected addAuth ( ) : ProtocolTreeNode
리턴 WhatsAppApi.Helper.ProtocolTreeNode

addAuthResponse() 보호된 메소드

protected addAuthResponse ( ) : ProtocolTreeNode
리턴 WhatsAppApi.Helper.ProtocolTreeNode

addFeatures() 보호된 메소드

protected addFeatures ( ) : ProtocolTreeNode
리턴 WhatsAppApi.Helper.ProtocolTreeNode

authenticate() 보호된 메소드

protected authenticate ( string nonce ) : string
nonce string
리턴 string

encryptPassword() 공개 메소드

public encryptPassword ( ) : string
리턴 string

processChallenge() 보호된 메소드

protected processChallenge ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
리턴 void

processInboundData() 보호된 메소드

protected processInboundData ( string data ) : void
data string
리턴 void

sendMessageReceived() 보호된 메소드

protected sendMessageReceived ( ProtocolTreeNode msg ) : void
msg WhatsAppApi.Helper.ProtocolTreeNode
리턴 void

sendNickname() 공개 메소드

public sendNickname ( string nickname ) : void
nickname string
리턴 void