We can use Supabase Edge Functions[0] to handle Telegram Bot Webhooks with the grammY[1] framework. grammY is an open source Telegram Bot Framework which makes it easy to handle and respond to incoming messages.
Find the code: https://github.com/thorwebdev/edgy-ed...
Find more grammY examples: https://github.com/grammyjs/examples
🎙️ Presented by Thor Schaeff (@thorwebdev https://go.thor.bio/x)
Chapters
00:00 Intro
00:27 Project Setup
02:36 grammY - The Telegram Bot Framework
03:18 Create new Supabase Edge Function
04:05 Handling Telegram slash commands with grammY
07:25 Create a new Telegram Bot via the BotFather
11:15 Set the Telegram Webhook URL
11:48 Test Telegram webhooks locally with ngrok
12:55 Deploy a public Supabase Edge Function webhook handler
About Edgy Edge Functions
Edgy Edge Functions is a video series where we explore Supabase Edge Functions[0] and Deno[2] functionality and features.
If there's something you'd like to learn about, please open an issue[3] and let me know on this Tweet thread[4].
Thanks for stopping by! Denosaur and I will see you soon \o/
[0] https://supabase.com/edge-functions
[1] https://grammy.dev/
[2] https://deno.land/
[3] https://github.com/thorwebdev/edgy-ed...
[4] / 1595719098863788032
Watch video Building a Telegram Bot with Edge Functions online without registration, duration hours minute second in high quality. This video was added by user Supabase 03 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,924 once and liked it 103 people.