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
61 lines
926 B
Markdown
61 lines
926 B
Markdown
[**simplex-chat**](README.md)
|
|
|
|
***
|
|
|
|
[simplex-chat](README.md) / [api](Namespace.api.md) / BotAddressSettings
|
|
|
|
# Interface: BotAddressSettings
|
|
|
|
Defined in: [src/api.ts:23](../src/api.ts#L23)
|
|
|
|
Bot address settings.
|
|
|
|
## Properties
|
|
|
|
### autoAccept?
|
|
|
|
> `optional` **autoAccept?**: `boolean`
|
|
|
|
Defined in: [src/api.ts:28](../src/api.ts#L28)
|
|
|
|
Automatically accept contact requests.
|
|
|
|
#### Default
|
|
|
|
```ts
|
|
true
|
|
```
|
|
|
|
***
|
|
|
|
### businessAddress?
|
|
|
|
> `optional` **businessAddress?**: `boolean`
|
|
|
|
Defined in: [src/api.ts:41](../src/api.ts#L41)
|
|
|
|
Business contact address.
|
|
For all requests business chats will be created where other participants can be added.
|
|
|
|
#### Default
|
|
|
|
```ts
|
|
false
|
|
```
|
|
|
|
***
|
|
|
|
### welcomeMessage?
|
|
|
|
> `optional` **welcomeMessage?**: `string` \| `MsgContent`
|
|
|
|
Defined in: [src/api.ts:34](../src/api.ts#L34)
|
|
|
|
Optional welcome message to show before connection to the users.
|
|
|
|
#### Default
|
|
|
|
```ts
|
|
undefined (no welcome message)
|
|
```
|