contexts property

List<InteractionContextType>? contexts
final

Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands.

Implementation

final List<InteractionContextType>? contexts;