Method | Description | |
---|---|---|
Bot ( string name, string token ) : System | ||
Start ( ) : void | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
GetFirstParameter ( MessageInfo message, |
||
OnMessageReceived ( MessageInfo message ) : void | ||
OnUnknownCommandReceived ( MessageInfo message ) : void | ||
Process ( MessageInfo message, |
||
ProcessCommand ( MessageInfo message ) : void | ||
RunRequest ( MessageInfo message, |
Method | Description | |
---|---|---|
Client_UpdatesReceived ( object sender, TelegramUpdateEventArgs e ) : void | ||
FindCommand ( string text ) : |
||
Process ( UpdateInfo update ) : void | ||
ProcessParameter ( MessageInfo message ) : void |
public Bot ( string name, string token ) : System | ||
name | string | |
token | string | |
return | System |
protected GetFirstParameter ( MessageInfo message, |
||
message | MessageInfo | |
command | ||
return | void |
protected OnMessageReceived ( MessageInfo message ) : void | ||
message | MessageInfo | |
return | void |
protected OnUnknownCommandReceived ( MessageInfo message ) : void | ||
message | MessageInfo | |
return | void |
protected Process ( MessageInfo message, |
||
message | MessageInfo | |
command | ||
return | void |
protected ProcessCommand ( MessageInfo message ) : void | ||
message | MessageInfo | |
return | void |
protected RunRequest ( MessageInfo message, |
||
message | MessageInfo | |
command | ||
return | void |