• tarasyarema avatar
    tgWebhookHandler
    @tarasyarema
    An interactive, runnable TypeScript val by tarasyarema
    HTTP (deprecated)
  • narthur avatar
    telegramBot
    @narthur
    An interactive, runnable TypeScript val by narthur
    Script
  • hootz avatar
    telegramDalleBot
    @hootz
    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)
    Script
  • neverstew avatar
    telegramWebhookEchoMessage
    @neverstew
    Forked from vtdocs/telegramWebhookEchoMessage
    HTTP (deprecated)
  • vtdocs avatar
    telegramWebhookEchoMessage
    @vtdocs
    An interactive, runnable TypeScript val by vtdocs
    Script
  • marcecoll avatar
    telegramWebhookCompra
    @marcecoll
    Forked from enyo/telegramWebhookEchoMessage
    Express
  • enyo avatar
    telegramWebhookEchoMessage
    @enyo
    Forked from vtdocs/telegramWebhookEchoMessage
    HTTP (deprecated)
  • maxm avatar
    telegramWebhookExample
    @maxm
    An interactive, runnable TypeScript val by maxm
    HTTP (deprecated)
  • stevekrouse avatar
    telegramValTownBot
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    RPC
  • dpetrouk avatar
    telegramWebhookEchoMessage
    @dpetrouk
    Forked from vtdocs/telegramWebhookEchoMessage
    Express
  • stevekrouse avatar
    telegramValTownAPI
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    HTTP (deprecated)
  • adjacent avatar
    telegramDalleBot
    @adjacent
    Forked from hootz/telegramDalleBot
    HTTP
  • stevekrouse avatar
    telegramValTownBotWebhook
    @stevekrouse
    The beating heart of the @ValTownBot on Telegram: https://www.val.town/v/stevekrouse.telegram
    HTTP
  • subguy avatar
    sendFoodEmail
    @subguy
    // Forked from @enyo.sendTelegramMessage
    Cron
  • dpetrouk avatar
    notifyInTg
    @dpetrouk
    Usage in bash: # Can be in .bashrc or .zsrhc: to-tg() { local input="" if [[ -p /dev/stdin ]]; then input="$(cat -)" else input="${@}" fi if [[ -z "${input}" ]]; then return 1 fi local chat_id="-1001826545120" # Set chat_id where your bot is local message="$input" curl -G https://api.val.town/v1/run/dpetrouk.notifyInTg --data-urlencode 'args=["'"$chat_id"'", "'"$message"'"]' } # You will get notification where command is succesfully finished <command in bash> && to-tg Success # Can be like that? <command in bash> | to-tg Success
    Script
1
Next
October 23, 2023