contexts property

List<InteractionContextType>? contexts
getter/setter pair

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

Implementation

List<InteractionContextType>? contexts;