$:/litapp/blog

A blog about nothing, coding, photography, and generative art


Serverless Telegram Bot on GC Functions - 2017/06/05 09:10

I played for some time with the idea of having a telegram bot run serverless in the cloud. Obviously the code run on some server but it is not necessary to care to provision, deploy, starting the application, etc. All you care about is your code.

GC Functions can be triggered by Pub/Sub events, buckets events and HTTP invocations. The latter is the one that we are going to provide as webhook to Telegram to be invoked when a message is sent to our bot.

[...]