Send yourself a Telegram message

Inspired by console.email, this val lets you send yourself a Telegram message via the valtown_bot from any of your vals

@me.telegram("hi to me on telegram!")

Installation

1. Start a conversation with valtown_bot

Click here: https://t.me/valtown_bot

2. Copy your Secret

3. Save in your secrets under telegramSecret

4. Fork this val & run it

Save your own private version of a telegram function to your account by forking this val: https://www.val.town/v/pomdtr.telegram

5. Send a test message!

await @me.telegram("hi to me on telegram!")

PS: the bot code is available here