The most easiest telegram package that helps you to code your bot faster
Project description
Botte
The most easiest telegram package that helps you to connect with the telegram api.
Example How to send message
!pip install botte
from telegram_client.client import runbot
def my_message_handler(client, chat_id, text):
# Define how you want to handle incoming messages here
# For example, echoing the received message back to the user:
client.send_message(chat_id, f"Echo: {text}")
# Replace 'YOUR_BOT_TOKEN' with your actual bot token
token = 'YOUR_BOT_TOKEN'
runbot(token, my_message_handler)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Botte-0.5.1.tar.gz
(15.2 kB
view hashes)
Built Distribution
Botte-0.5.1-py3-none-any.whl
(16.0 kB
view hashes)