Skip to content

Commit

Permalink
Fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
duament authored Nov 22, 2024
1 parent 04ffaaa commit f569b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT

async function forward_message(env, chat_id, from_chat_id, message_id) {
const url = `https://api.telegram.org/bot${env.TG_BOT_TOKEN}/sendMessage`
const url = `https://api.telegram.org/bot${env.TG_BOT_TOKEN}/forwardMessage`
const data = {
chat_id,
from_chat_id,
Expand Down

0 comments on commit f569b59

Please sign in to comment.