From 80d798144d85b1a70330e1d178d9362df0009e5b Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Tue, 24 Jun 2025 13:27:26 -0600 Subject: [PATCH] feat: adds labels for dict --- src/embedded/classes/IterableEmbeddedMessageElementsButton.ts | 3 +++ .../classes/IterableEmbeddedMessageElementsButtonAction.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/embedded/classes/IterableEmbeddedMessageElementsButton.ts b/src/embedded/classes/IterableEmbeddedMessageElementsButton.ts index b1481c9e6..64a516a20 100644 --- a/src/embedded/classes/IterableEmbeddedMessageElementsButton.ts +++ b/src/embedded/classes/IterableEmbeddedMessageElementsButton.ts @@ -55,7 +55,10 @@ export class IterableEmbeddedMessageElementsButton { * An interface defining the dictionary object containing the properties for the embedded message button. */ export interface EmbeddedMessageElementsButtonDict { + /** The ID for the embedded message button */ id: string; + /** The title for the embedded message button */ title?: string; + /** The action for the embedded message button */ action?: IterableEmbeddedMessageElementsButtonAction; } diff --git a/src/embedded/classes/IterableEmbeddedMessageElementsButtonAction.ts b/src/embedded/classes/IterableEmbeddedMessageElementsButtonAction.ts index c8dd24708..35283e010 100644 --- a/src/embedded/classes/IterableEmbeddedMessageElementsButtonAction.ts +++ b/src/embedded/classes/IterableEmbeddedMessageElementsButtonAction.ts @@ -49,6 +49,8 @@ export class IterableEmbeddedMessageElementsButtonAction { * An interface defining the dictionary object containing the properties for the embedded message button action. */ export interface EmbeddedMessageButtonActionDict { + /** The type of the action */ type: string; + /** The data associated with the action */ data?: string; }