Skip to content

GramIO API Reference / gramio/dist / SyncCommandsOptions

Interface: SyncCommandsOptions

Defined in: gramio/index.d.ts:1091

Options for Bot.syncCommands

Properties

PropertyTypeDescriptionDefined in
cleanUnusedScopes?booleanDelete commands for scopes not declared by any command. Default falsegramio/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?SyncStorageStorage for caching sync hashes. When provided, only changed groups trigger API calls.gramio/index.d.ts:1093