Skip to content

Commit

Permalink
Merge branch 'pr/AbdullahBitar/4614' into pr/AbdullahBitar/4613
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed May 3, 2024
2 parents 224e5f0 + 37c0b24 commit f903768
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export const telegramSendMessageAction = createAction({
instructions_format: Property.MarkDown({
value: format,
}),
web_page_preview: Property.Checkbox({
displayName: 'Disable Web Page Preview',
description: 'Disable link previews for links in this message',
required: false,
defaultValue: false,
}),
message: Property.LongText({
displayName: 'Message',
description: 'The message to be sent',
Expand All @@ -78,6 +84,7 @@ export const telegramSendMessageAction = createAction({
message_thread_id: ctx.propsValue['message_thread_id'] ?? undefined,
parse_mode: ctx.propsValue['format'] ?? 'MarkdownV2',
reply_markup: ctx.propsValue['reply_markup'] ?? undefined,
disable_web_page_preview: ctx.propsValue['web_page_preview'] ?? false,
},
});
},
Expand Down

0 comments on commit f903768

Please sign in to comment.