GitHub

API reference for Context.

What normalising needs to know about the bot. bot_username is without @, from getMe.

Attributes

AttributeTypeDescription
bot_idstr
bot_usernamestr | None = None
environmentEnvironment = 'production'

Functions

__init__

__init__(bot_id, bot_username=None, environment='production') -> None
ParameterTypeDescription
bot_idstr
bot_usernamestr | None = None
environmentEnvironment = 'production'