Back to APIs list

Telegram API examples & templates

Use these vals as a playground to view and fork Telegram API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
vtdocs avatar
vtdocs
telegramSendPhoto
Script
An interactive, runnable TypeScript val by vtdocs
0
vtdocs avatar
vtdocs
telegramWebhookEchoMessage
Script
An interactive, runnable TypeScript val by vtdocs
2
stevekrouse avatar
stevekrouse
telegramSendMessage
Script
Forked from vtdocs/telegramSendMessage
0
koop12345 avatar
koop12345
voiceToTextBot
Script
// Telegram Bot API Token (requires setting in Val Town environment)
0
neverstew avatar
neverstew
telegramWebhookEchoMessage
HTTP
Forked from vtdocs/telegramWebhookEchoMessage
0
tarasyarema avatar
tarasyarema
tgWebhookHandler
HTTP
An interactive, runnable TypeScript val by tarasyarema
0
victor141516 avatar
victor141516
sendTelegramMessage
Script
An interactive, runnable TypeScript val by victor141516
0
hootz avatar
hootz
telegramDalleBot
Script
Telegram DALLE Bot A personal telegram bot you can message to create images with OpenAI's DALLE ✨ Set up yours fork this val speak to telegram’s https://t.me/botfather to create a bot and obtain a bot token set the bot token as a val town secret called telegramDalleBotToken add a random string as a val town secret called telegramDalleBotWebhookSecret set up your webhook with telegram like this: // paste and run this in your workspace on here @vtdocs.telegramSetWebhook(@me.secrets.telegramDalleBotToken, { url: /* your fork's express endpoint (click the three dots on a val) */, allowed_updates: ["message"], secret_token: @me.secrets.telegramDalleBotWebhookSecret, }); message your bot some prompts! (if you get stuck, you can refer to the telegram echo bot guide from docs.val.town)
6
sjmre avatar
sjmre
telegramSendMessage
Script
Forked from vtdocs/telegramSendMessage
0
stevekrouse avatar
stevekrouse
telegramValTownAPI
HTTP
An interactive, runnable TypeScript val by stevekrouse
1
stevekrouse avatar
stevekrouse
telegramBotHandler
HTTP
Forked from hootz/telegramDalleBot
0
maxm avatar
maxm
telegramWebhookExample
HTTP
An interactive, runnable TypeScript val by maxm
0
artalar avatar
artalar
jentlemans_bot
HTTP
Forked from maxm/telegramWebhookExample
0
ghsaboias avatar
ghsaboias
crypto_prices_info
Cron
Forked from flafi87/weather_forecast_in_the_morning
0
stevekrouse avatar
stevekrouse
telegramValTownBot
RPC (deprecated)
An interactive, runnable TypeScript val by stevekrouse
0
enyo avatar
enyo
telegramWebhookEchoMessage
HTTP
Forked from vtdocs/telegramWebhookEchoMessage
0