telegramlib.telegram_warnings¶
Warnings Module for Telegram Bot Library
This module defines a set of custom warning classes for the Telegram bot library. These warnings are used to notify developers and users of non-critical issues that may occur during the operation of the bot, such as invalid configurations or usage patterns that may lead to unexpected behavior.
Details¶
All warnings in this module are derived from TelegramLibWarning, which in turn derives from Python’s built-in Warning class. Each warning class provides additional context-specific information relevant to the Telegram bot library.
Exceptions
|
Warning raised for attempts to define scheduled function without passing it during bot startup. |
|
Warning raised for attempts to define restricted bot parameters. |
|
Warning raised for attempts to access or modify non-existent parameter |
|
Base class for warnings in this module. |
|
Warning raised for attempts to convert text unsuitable for conversion to speech. |