Skip to content

Commit

Permalink
chore: update send msg telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Jan 29, 2024
1 parent 6ecb049 commit d91415c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function getPayloadTelegram(inputs: Readonly<TInputs>): Object {
};

if (inputs.qrcode) {
telegram_payload.text = telegram_payload.text + `\n![QR Code](https://avatar1.vercel.app/qr/${encodeURIComponent(inputs.qrcode)})`
telegram_payload.photo = `https://avatar1.vercel.app/qr/${encodeURIComponent(inputs.qrcode)}`
}

if (inputs.telegram_message_thread_id) {
Expand Down

0 comments on commit d91415c

Please sign in to comment.