Learn API Programming by Building a Telegram Bot
2h 36mIntermediate2021-01-07
Authors

Tom Geller
Writer, Editor, Videographer, Educator, Web Designer, PR Executive
Course details
Telegram is an emerging technology that is used primarily for messaging. This course gives enterprise developers a point of entry into leveraging Telegram bots to create internal or client-facing tools. Instructor Tom Geller shows you how to check the requirements to host a Telegram bot. He explains what Telegram is, how it's used, and its place in the world of instant messengers. He covers the basic architecture of how a Telegram bot works and how you can browse bots that others have created for ideas. Tom steps through how to notify the Telegram.org servers of your bot. He discusses how to send requests and receive updates. He shows how to direct your bot to perform a greater variety of actions and how to handle multimedia content as easily as text-based content. Tom goes over how to take advantage of certain security features built into the Telegram messaging platform. In conclusion, he shows you how to get further help from others who have built Telegram bots.
Skills covered
PHPAPIsOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Master instant messaging with Telegram bots
- 02 - What you should know
- 03 - Your bot server's requirements
- 04 - Course project - A bot for your business
1. How Telegram Bots Work
- 05 - Introduction to Telegram
- 06 - What is a Telegram bot
- 07 - What's in the Bot API
- 08 - Explore the world of Telegram bots
- 09 - What bots can't do
- 10 - Using bot development libraries
2. Communicate with Telegram
- 11 - Register your bot with botfather
- 12 - Send requests to Telegram's servers
- 13 - Always-on connections with webhooks
- 14 - As-needed connections with long polling
- 15 - Create your first bot program
- 16 - Challenge - Create a Who am I bot
- 17 - Solution - Create a Who am I bot
3. Program Your Bot
- 18 - Understand Telegram native data types
- 19 - Control your bot with available methods
- 20 - Recognize slash commands
- 21 - Reply to messages
- 22 - Forward messages to another user
- 23 - Challenge - Auto-reply to a customer's inquiry
- 24 - Solution - Auto-reply to a customer's inquiry
4. Expand User Interaction
- 25 - Present custom keyboards
- 26 - Present action inline keyboards
- 27 - Work with multimedia
- 28 - Improve your code with Telegram standards
- 29 - Challenge - Welcome users with a logo and styled text
- 30 - Solution - Welcome users with a logo and styled text
5. Go Further with Telegram
- 31 - Security and performance of Telegram bots
- 32 - Private messages, groups, and channels
- 33 - Bot debugging tips
- 34 - Get help from the community
Conclusion
- 35 - Extend your Telegram learning
Related courses
- Learning Full-Stack JavaScript Development: MongoDB, Node, and React
- AutoCAD: Building Add-ins with C#
- Building Full-Stack Applications with HTMX
- Build with AI: AI-Powered Dashboards with Streamlit
- Build with AI: Creating AI Agents with OpenAI's Responses API
- Build an AI Code Review Assistant with OpenAI and Streamlit
- Build with AI: Vibe Code a Prompt Engineering Agent to Drive LLM Adoption
- JavaScript Code Challenges: Creating Web Apps