TelegramClient

TelegramClient

new TelegramClient(app)

Description:
  • TelegramClient

Source:
Parameters:
Name Type Description
app Object

containing logger and redis

Methods

_registerTelegramCommand(command_name, condition, is_inlinenullable, handle_function_namenullable)

Source:
Parameters:
Name Type Attributes Default Description
command_name String

command name

condition false
is_inline Boolean <nullable>
false

{false} if command should be available for inline querying

handle_function_name String <nullable>

{command_name} which function from TelegramHandler handles this command