Files
simplex-chat/packages/simplex-chat-nodejs/docs/bot.Function.subscribeChatItems.md
T
shum f9071033c0 Merge branch 'master' into sh/nodejs-db
# Conflicts:
#	packages/simplex-chat-nodejs/README.md
#	packages/simplex-chat-nodejs/src/download-libs.js
2026-10-10 11:52:33 +00:00

28 lines
450 B
Markdown

[**simplex-chat**](README.md)
***
[simplex-chat](README.md) / [bot](Namespace.bot.md) / subscribeChatItems
# Function: subscribeChatItems()
> **subscribeChatItems**(`bot`, `onMessage`, `commands`): `void`
Defined in: [src/bot.ts:110](../src/bot.ts#L110)
## Parameters
### bot
[`ChatApi`](api.Class.ChatApi.md)
### onMessage
((`chatItem`, `content`, `chat`) => `void` \| `Promise`\<`void`\>) \| `undefined`
### commands
## Returns
`void`