⚡️ EzTG is a minimal async (& non-async) Telegram Bot Api Framework. It's available for Python and PHP.
The methods are the same of the Telegram Bot Api, so you don't need to learn anything new.
Choose the version you prefer:
The methods are the same of the Telegram Bot Api. So, if you want to send a message, you will use the sendMessage method.
chat_id
and text
are required. So...
Python: bot.sendMessage(chat_id=1234, text='hi!')
PHP: $bot.sendMessage(['chat_id' => 1234, 'text' => 'hi!']);
To find the current chat id: chat_id = update['message']['chat']['id']
[tutorial] How to send a photo using EzTG
Take a look at the example.py/example.php
file.