telegramlib.core

Telegram Bot Main Functionality Module

This module provides core functionality for managing a Telegram bot, including bot startup, message handling, error handling, and user data management. It incorporates Telegram bot handlers, decorators, and utility functions to facilitate the smooth operation of the bot.

Functions

bot_reply_text(message[, text_to_audio, ...])

Makes the bot respond to a message from the user.

command_args()

Get command's arguments.

delete(chat_id, message_id[, token])

Deletes a text message of a user.

send(message[, chat_id, save, token, parse_mode])

Sends a text message to a specified user.

start_bot(token, admin, commands[, ...])

Most important function needed to start the bot.