Type Definitions
# TEventNames()
# THandlerCommand(context, bot)
Parameters:
Name | Type | Description |
---|---|---|
context |
any
|
|
bot |
UtilsCore
|
Example
handler(context, bot) {
bot.testMetod() //utils.testMetod
context.send('ура')
}
# TOn(eventName, listener)
Parameters:
Name | Type | Description |
---|---|---|
eventName |
string
|
symbol
|
|
listener |
function
|