Skip to content

Commit 48bff18

Browse files
fix: make actions property required in MessageAttachmentAction type
1 parent 34005b9 commit 48bff18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core-typings/src/IMessage/MessageAttachment/MessageAttachmentAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Action = {
1919

2020
export type MessageAttachmentAction = {
2121
button_alignment?: 'horizontal' | 'vertical';
22-
actions?: Array<Action>;
22+
actions: Array<Action>;
2323
} & MessageAttachmentBase;
2424

2525
export const isActionAttachment = (attachment: MessageAttachmentBase): attachment is MessageAttachmentAction => 'actions' in attachment;

0 commit comments

Comments
 (0)