Skip to content

Commit

Permalink
fix: sendLinkPreview
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalan7 committed Mar 5, 2021
1 parent 0c0e14d commit d5d1145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/wapi/functions/send-link-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export async function sendLinkPreview(chatId, url, text) {
t: parseInt(new Date().getTime() / 1000),
isNewMsg: !0,
type: 'chat',
subtype: 'url',
canonicalUrl: linkPreview.canonicalUrl,
description: linkPreview.description,
doNotPlayInline: linkPreview.doNotPlayInline,
Expand Down

1 comment on commit d5d1145

@jonalan7
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.