Skip to content

GramIO API Reference / gramio/dist / SyncCommandsOptions

Interface: SyncCommandsOptions

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

Options for Bot.syncCommands

Properties

PropertyTypeDescriptionDefined in
cleanUnusedScopes?booleanDelete commands for scopes not declared by any command. Default falsegramio/index.d.ts:1191
exclude?string[]Command names to exclude from syncing (in addition to commands with hide: true)gramio/index.d.ts:1193
storage?SyncStorageStorage for caching sync hashes. When provided, only changed groups trigger API calls.gramio/index.d.ts:1189