considering

This commit is contained in:
tungdo0602
2025-06-29 14:41:53 +07:00
parent e671401867
commit bbd5f3cee5

View File

@@ -389,6 +389,7 @@ export interface APISectionComponent extends APIBaseComponent<MessageComponentTy
accessory: APIThumbnailComponent | APIMessageButtonInteractionData accessory: APIThumbnailComponent | APIMessageButtonInteractionData
} }
// APIActionRowComponent<APIActionRowComponentTypes> ???
export type APIContainerComponents = APIActionRowComponent<APIActionRowComponentTypes> | APITextDisplayComponent | APISectionComponent | APIMediaGalleryComponent | APISeparatorComponent | APIFileComponent; export type APIContainerComponents = APIActionRowComponent<APIActionRowComponentTypes> | APITextDisplayComponent | APISectionComponent | APIMediaGalleryComponent | APISeparatorComponent | APIFileComponent;
export interface APIContainerComponent extends APIBaseComponent<MessageComponentTypes.CONTAINER> { export interface APIContainerComponent extends APIBaseComponent<MessageComponentTypes.CONTAINER> {
components: APIContainerComponents[]; components: APIContainerComponents[];