
Discover essential telegram concepts, including what telegram is, its clients, bots, and the API, plus the line protocol, a PSP library for writing telegram bots with PHP.
Register your Telegram bot with BotFather, choose a name and a unique username ending with bot, save the token securely, and add a description and cover photo.
Explore additional BotFather commands, including viewing help, listing and deleting bots, setting about text and profile pictures, revoking tokens, and configuring set commands to guide users.
Learn to call the telegram bot api with http requests using the rester extension, exploring methods like get me and send message, including chat_id and text with json responses.
Master making requests to the Telegram bot api with php curl, including get me, send message, and send photo, by constructing curl calls and handling json responses.
Learn how Telegram updates trigger bot reactions by delivering events such as messages or adds to groups and channels, and how to receive updates via getUpdates or webhooks.
Learn to fetch updates from Telegram using getUpdates with long polling in PHP, handle offsets and timeouts, decode JSON, and respond to messages in a continuous loop.
Set up a secure https webhook to receive Telegram updates on your server with a php script. Parse json updates, log them, and respond via the Telegram bot API.
Discover MadelineProto, a PHP library that builds Telegram clients and bots with level APIs, and learn to install requirements and create a simple project with Composer or the library archive.
Install mbstring, JSON, and GMP PHP extensions for MadelineProto across Linux, macOS, and Windows using the official docs, then verify with php -m.
Register your telegram app on telegram.org using api development tools, create a web app, and securely save your api id and api hash for use with MadelineProto.
Create a MadelineProto project with composer, set up PSR-4 autoload in composer.json, install dependencies, initialize the API, and send a hello message from the bot while handling namespace changes.
Discover update handling options in MadelineProto, emphasizing the async and sync event driven approaches with sample code, plus multi-account and combined event driven methods before adding a bot event handler.
Create an async telegram bot event handler in php by extending MadelineProto's event handler, configure the namespace and autoload, and process updates with on update your message.
Choose an asynchronous database system for your Telegram bot to store messages, users, files, and gallery data, using the my sequel library for PHP with MadelineProto.
Install the library, create a MySQL database named gallery with a user and privileges, then connect via a pool in MadelineProto to insert incoming Telegram messages into the messages table.
Learn to create a reply keyboard markup with MadelineProto, constructing keyboard button rows and sending messages that include the keyboard. The lecture covers handling message input and API usage.
Learn to send an inline keyboard with MadelineProto by building reply inline markup from rows of keyboard buttons and callback buttons, and handle callback queries to respond.
Implement per-user session management in a PHP MadelineProto bot to run a multi-step registration flow using inline keyboard callbacks to collect username and password.
Learn to upload and download files on your server with MadelineProto, send media like videos, audio, and photos, and retrieve the API file id for Telegram files.
Learn how to send videos with MadelineProto in PHP by constructing input media uploaded document, applying document attributes video, and sending media with a caption.
Learn to send any type of media or documents with MadelineProto by creating a media object, specifying peer, message, and file name attributes for uploaded documents.
Telegram bots are special accounts on the Telegram platform that you control via the code that you write and run somewhere on your server. Bots can be fun, useful, and a source of income! If you want to get started creating powerful Telegram bots with lots of features in a short time, you should take this course.
I will teach you step by step how to create bots for Telegrams, explaining basic concepts and building upon the basic concepts to help you become a bot developer in no time.
PHP is a very popular language that many developers, from beginner to advanced, use in their daily development. The present course teaches you how to use the PHP programming language in combination with MadelineProto, a popular open source library for Telegram, to create robust Telegram bots and applications. MadelineProto has implemented all the functionalities of a complete Telegram app, so it is suitable for creating great bots. It is also endorsed by Telegram on its app page.
What this course will cover:
- What is Telegram
- What is a Telegram Bot
- How to create a Bot using Bot Father
- How create a bot project in PHP
- How to handle updates in MadelineProto
- How to deploy a bot to production (running the bots on production servers)
- And more
If you are curious to see how you can create Telegram bots using PHP and MadelineProto, here's your chance to this goal. Get the course now and let's create some bots!