telegramlib.config

Telegram Bot Configuration Module

This module manages the configuration and state of a Telegram bot. It includes functionalities for setting and retrieving bot parameters, user management, and data persistence. This module ensures proper initialization and management of bot settings, admin and controller user IDs, and other configuration parameters.

Usage

This module should be used internally.

Functions

bot_name()

Get name of the bot.

context()

Get python-telegram-bot context object.

update()

Get python-telegram-bot update object.

user_message()

Get message sent by the user.

Classes

Config()

Class for bot configuration management.