bot.commands Module#

Methods for simple commands.

async bot.commands.delete_fallback_picture(update, context)

Deletes the users current fallback profile picture, if set.

Parameters:
Return type:

None

async bot.commands.info(update, context)

Returns some info about the bot.

Parameters:
Return type:

None

async bot.commands.show_fallback_picture(update, context)

Shows the users current fallback profile picture, if set.

Parameters:
Return type:

None

async bot.commands.sticker_message(update, context)

Answers a text message by providing the requested sticker.

Parameters:
Return type:

None

async bot.commands.toggle_store_stickers(update, context)

Toggles whether or not to store stickers for the user.

Parameters:
Return type:

None

async bot.commands.toggle_text_direction(update, context)

Toggles whether the user wants to use left-to-right or right-to-left text.

Parameters:
Return type:

None