mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 15:48:54 +00:00
28 lines
368 B
Markdown
28 lines
368 B
Markdown
[**simplex-chat**](README.md)
|
|
|
|
***
|
|
|
|
[simplex-chat](README.md) / [core](Namespace.core.md) / chatSendCmd
|
|
|
|
# Function: chatSendCmd()
|
|
|
|
> **chatSendCmd**(`ctrl`, `cmd`): `Promise`\<`ChatResponse`\>
|
|
|
|
Defined in: [src/core.ts:49](../src/core.ts#L49)
|
|
|
|
Send chat command as string
|
|
|
|
## Parameters
|
|
|
|
### ctrl
|
|
|
|
`bigint`
|
|
|
|
### cmd
|
|
|
|
`string`
|
|
|
|
## Returns
|
|
|
|
`Promise`\<`ChatResponse`\>
|