2. What does this Bot do?
Blurs the Background of image.
Accepts some options related to scaling and how much to blur.
.
.
.
.
.
.
and nothing more...
Background from Tapet Wallpaper Android App, Blurred by @blurblurbot 2
3. What is Telegram Bot API?
Telegram Messenger has an inbuilt API for Bots
https://api.telegram.org
Create a Bot
Start a chat with @BotFather in Telegram Messenger
It will guide for creating a Bot and will provide a Token for
accessing its API.
Using the API
Send a GET request to
https://api.telegram.org/botMY_BOT_TOKEN/getMe
where MY_BOT_TOKEN is your bot token received from
@BotFather
3
4. How can I get/process messages received
by bot?
Polling:
getUpdates is a basic method to access recent messages.
Webhooks:
This is a common practice.
Can be set by calling setWebhook method with params
Status of webhook by getWebhookInfo method
4
8. Inspiration to write the code in Golang
Compiled language
Concurrent Programming
Portablity
Cool thing to write in Resume
Ref: https://www.quora.com/What‑advantages‑does‑the‑Go‑
programming‑language‑have‑over‑Python‑or‑vice‑versa
8
9. What does the Project uses?
Image manipulation library image
Some third party libraries
github.com/esimov/stackblur‑go
github.com/disintegration/imaging
Go routines for processing and sending photos asynchronously.
Build creates an executable file by running
go get github.com/dtchanpura/blurblurbot
9