Interfacehttpv0.2.3
InteractionGateContext
The interaction gate context on the HTTP transport. It extends the scalar GateContextBase with the raw interaction payload and the user and member the payload carries. A gate reading button fields, inferred from its ctx annotation, is rejected on a slash handler.
The http transport delivers no role-derived permission sets, so memberGuildPermissions and appGuildPermissions are absent. A gate requiring GuildPermissionsContext (a permission gate with in: 'guild') is a compile error on an http handler.
interface InteractionGateContext<
Repliable extends Repliables = Repliables
> extends GateContextBaseProperties
Repliable
The interaction type the gate reads, narrowing which handlers accept it.
Repliable extends Repliables = Repliablesreadonly core: Corereadonly interaction: Repliablereadonly kind: 'interaction'readonly member: APIInteractionGuildMember | nullreadonly user: APIUser