BotConfig
Defined in the config module.Configuration for messaging bots. Attributes: token: Bot authentication token webhook_url: URL for webhook mode (optional) webhook_path: Path for webhook endpoint polling_interval: Interval for polling mode (seconds) allowed_users: List of allowed user IDs (empty = all allowed) allowed_channels: List of allowed channel IDs (empty = all allowed) command_prefix: Prefix for commands (default: ”/”) mention_required: Whether bot mention is required in groups typing_indicator: Whether to show typing indicator max_message_length: Maximum message length before splitting retry_attempts: Number of retry attempts for failed operations timeout: Request timeout in seconds metadata: Additional platform-specific configuration
Properties
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
Methods
is_webhook_mode()
Whether bot is configured for webhook mode.
is_user_allowed()
Check if a user is allowed to interact with the bot.
is_channel_allowed()
Check if a channel is allowed for bot interaction.
Internal & Generic Methods
Internal & Generic Methods
- to_dict: Convert to dictionary (hides sensitive data).

