GramIO API Reference / gramio/dist / SyncCommandsOptions
Interface: SyncCommandsOptions
Defined in: gramio/index.d.ts:1091
Options for Bot.syncCommands
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
cleanUnusedScopes? | boolean | Delete commands for scopes not declared by any command. Default false | gramio/index.d.ts:1095 |
exclude? | string[] | Command names to exclude from syncing (in addition to commands with hide: true) | gramio/index.d.ts:1097 |
storage? | SyncStorage | Storage for caching sync hashes. When provided, only changed groups trigger API calls. | gramio/index.d.ts:1093 |