Skip to content

Commit

Permalink
add thread id
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 22, 2024
1 parent 13119d0 commit 7ab0c94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _api/send-telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +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,
parse_mode: "HTML",
}),
},
Expand Down

0 comments on commit 7ab0c94

Please sign in to comment.