Public
Script
1
2
3
4
5
6
7
8
9
10
11
import { secrets } from "https://esm.town/v/me/secrets";
import { runVal } from "https://esm.town/v/std/runVal";
export async function telegram(message: string) {
return runVal(
"pomdtr.sendToTelegram",
secrets.telegramSecret,
message,
);
}
// Forked from @pomdtr.telegram
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!
October 23, 2023