isAvailableFor
Whether this Command is selectable in the composer given the currently-active composer action:
Edit → always
false.Reply →
falsefor commands in themoderation_set(e.g./mute,/ban);trueotherwise.nullor any other action →true.
Parameters
action
The composer action currently active, or null when the composer is in its default state.