mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 19:23:36 +00:00
* nodejs: add tests to library * new tests * remove message splitting * fix race * docs * replace extract-zip with yauzl that it wraps (high severity issue) * fix ci tests * skip server tests on macos and win unless SMP_SERVER is set * fix win test * fix win test --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
556 B
556 B
simplex-chat / bot / subscribeChatItems
Function: subscribeChatItems()
subscribeChatItems(
bot,onMessage,commands):void
Defined in: src/bot.ts:110
Parameters
bot
onMessage
((chatItem, content, chat) => void | Promise<void>) | undefined
commands
{[key: string]: ((chatItem, command, chat) => void | Promise<void>) | undefined; }
Returns
void