Readme

I never actually tried this out, but I think it or something like it should work based on the docs found here: https://telegram-bot-sdk.readme.io/reference/removewebhook

1
2
3
4
5
6
7
import { telegramSetWebhook } from "https://esm.town/v/stevekrouse/telegramSetWebhook";
console.log(
await telegramSetWebhook(Deno.env.get("telegramBotToken"), {
remove: true,
}),
);
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
v0
February 19, 2024