From f8d083fe06fbef5db74b65d2538c0f86c9bdfedb Mon Sep 17 00:00:00 2001 From: Kenneth Sinder Date: Wed, 12 Mar 2025 11:42:53 -0700 Subject: [PATCH] Add missing optional fields to LinkMentionResponse --- src/api-endpoints.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/api-endpoints.ts b/src/api-endpoints.ts index cccd190d..f0a21649 100644 --- a/src/api-endpoints.ts +++ b/src/api-endpoints.ts @@ -778,7 +778,19 @@ export type TextRichTextItemResponse = { type LinkPreviewMentionResponse = { url: TextRequest } -type LinkMentionResponse = { href: string } +type LinkMentionResponse = { + href: string + title?: string + description?: string + link_author?: string + link_provider?: string + thumbnail_url?: string + icon_url?: string + iframe_url?: string + height?: number + padding?: number + padding_top?: number +} type TemplateMentionDateTemplateMentionResponse = { type: "template_mention_date"