General options for the application service
Members
IAppserviceCryptoStorageProvider
# cryptoStorage Optional
The storage provider to use for setting up encryption. Encryption will be
disabled for all intents and the appservice if not configured.
object
# intentOptions Optional
Options for how Intents are handled.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
maxCached |
number
|
<optional> |
The maximum number of intents to keep cached. Defaults to 10 thousand. |
maxAgeMs |
number
|
<optional> |
The maximum age in milliseconds to keep an Intent around for, provided, the maximum number of intents has been reached. Defaults to 60 minutes. |
encryption |
boolean
|
<optional> |
If false (default), crypto will not be automatically set up for all intent, instances - it will need to be manually enabled with, `await intent.enableEncryption()`., , If true, crypto will be automatically set up., , Note that the appservice bot account is considered an intent. |
IAppserviceStorageProvider
# storage Optional
The storage provider to use for this application service.