bot.commands Module

This module contains functions for handling simple commands.

bot.commands.help_message(update, context)

Shows a simple help message.

Parameters
  • update (Update) – The update.

  • context (CallbackContext) – The context as provided by the telegram.ext.Dispatcher.

Return type

None

bot.commands.show_data(update, context)

Shows the users currently saved data.

Parameters
  • update (Update) – The update.

  • context (CallbackContext) – The context as provided by the telegram.ext.Dispatcher.

Return type

None

bot.commands.start_inline(update, context)

Helps the user find the inline mode.

Parameters
  • update (Update) – The update.

  • context (CallbackContext) – The context as provided by the telegram.ext.Dispatcher.

Return type

None