new BotServant(botAPI, identifier, botID, botName)
Bot template
Parameters:
Name | Type | Description |
---|---|---|
botAPI |
BotAPI | |
identifier |
String | |
botID |
Number | |
botName |
String |
- Source:
Methods
onCreate()
This will be called on BotServant created.
- Source:
onRemove()
This will be called on BotServant removed.
- Source:
processUpdate(update)
This will be called when a Update comes.
Parameters:
Name | Type | Description |
---|---|---|
update |
Update |
- Source: