How to Build a Dynamic Telegram Bot Command Handler Using Docker and Python
Background
之前的專案希望能建立 TG Bot Command,使 Bot 能依據 command 不同而回應客戶,透過這篇筆記讓有相關需求的人能快速建立一個 docker container 去不斷透過 Python 去撈取當對應 TG Bot 有接受到command 時。
Architecture diagram
Step by Step
建立 Bot token
用 Telegram 搜尋 BotFather,點選 Message
進到 chat with BotF...
kanglin.hashnode.dev2 min read