mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-21 10:50:08 +00:00
Compare commits
1 Commits
0.38.44
...
fix/intera
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83df57b45a |
1
deno/payloads/v10/_interactions/base.ts
generated
1
deno/payloads/v10/_interactions/base.ts
generated
@@ -264,6 +264,7 @@ export interface APIInteractionDataResolved {
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
messages?: Record<Snowflake, APIMessage>;
|
||||
attachments?: Record<Snowflake, APIAttachment>;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ export interface APIMessageComponentBaseInteractionData<CType extends ComponentT
|
||||
* The type of the component
|
||||
*/
|
||||
component_type: CType;
|
||||
/**
|
||||
* The unique identifier for the component, as defined when the component was sent
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
|
||||
export type APIMessageButtonInteractionData = APIMessageComponentBaseInteractionData<ComponentType.Button>;
|
||||
|
||||
1
deno/payloads/v9/_interactions/base.ts
generated
1
deno/payloads/v9/_interactions/base.ts
generated
@@ -267,6 +267,7 @@ export interface APIInteractionDataResolved {
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
messages?: Record<Snowflake, APIMessage>;
|
||||
attachments?: Record<Snowflake, APIAttachment>;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ export interface APIMessageComponentBaseInteractionData<CType extends ComponentT
|
||||
* The type of the component
|
||||
*/
|
||||
component_type: CType;
|
||||
/**
|
||||
* The unique identifier for the component, as defined when the component was sent
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
|
||||
export type APIMessageButtonInteractionData = APIMessageComponentBaseInteractionData<ComponentType.Button>;
|
||||
|
||||
@@ -264,6 +264,7 @@ export interface APIInteractionDataResolved {
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
messages?: Record<Snowflake, APIMessage>;
|
||||
attachments?: Record<Snowflake, APIAttachment>;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ export interface APIMessageComponentBaseInteractionData<CType extends ComponentT
|
||||
* The type of the component
|
||||
*/
|
||||
component_type: CType;
|
||||
/**
|
||||
* The unique identifier for the component, as defined when the component was sent
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
|
||||
export type APIMessageButtonInteractionData = APIMessageComponentBaseInteractionData<ComponentType.Button>;
|
||||
|
||||
@@ -267,6 +267,7 @@ export interface APIInteractionDataResolved {
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
messages?: Record<Snowflake, APIMessage>;
|
||||
attachments?: Record<Snowflake, APIAttachment>;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ export interface APIMessageComponentBaseInteractionData<CType extends ComponentT
|
||||
* The type of the component
|
||||
*/
|
||||
component_type: CType;
|
||||
/**
|
||||
* The unique identifier for the component, as defined when the component was sent
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
|
||||
export type APIMessageButtonInteractionData = APIMessageComponentBaseInteractionData<ComponentType.Button>;
|
||||
|
||||
Reference in New Issue
Block a user