Skip to content

Commit

Permalink
fix thread id
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 22, 2024
1 parent dae39bf commit e46769a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _api/send-telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
body: JSON.stringify({
chat_id: process.env.TELEGRAM_CHANNEL_ID,
text: message,
thread_id: process.env.TELEGRAM_THREAD_ID,
message_thread_id: process.env.TELEGRAM_THREAD_ID,
parse_mode: "HTML",
}),
},
Expand Down

0 comments on commit e46769a

Please sign in to comment.