mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-27 12:56:03 +00:00
42dd36bf09
* simplex-chat-nodejs: typed DbConfig for ChatApi.init and BotDbOpts * simplex-chat-nodejs: regenerate typedoc docs for DbConfig * simplex-chat-nodejs: rename DbConfig.kind to .type
1.1 KiB
1.1 KiB
simplex-chat / bot / BotConfig
Interface: BotConfig
Defined in: src/bot.ts:35
Properties
dbOpts
dbOpts:
BotDbOpts
Defined in: src/bot.ts:37
events?
optionalevents?:EventSubscribers
Defined in: src/bot.ts:44
onCommands?
optionalonCommands?:object
Defined in: src/bot.ts:41
Index Signature
[key: string]: ((chatItem, command) => void | Promise<void>) | undefined
onMessage?
optionalonMessage?: (chatItem,content) =>void|Promise<void>
Defined in: src/bot.ts:39
Parameters
chatItem
AChatItem
content
MsgContent
Returns
void | Promise<void>
options
options:
BotOptions
Defined in: src/bot.ts:38
profile
profile:
Profile
Defined in: src/bot.ts:36