def command_configuration(_, update): if TelegramApp._is_valid_user(update): try: TelegramApp._send_message(update, InterfaceBot.get_command_configuration(markdown=True)) except Exception: TelegramApp._send_message(update, "`I'm unfortunately currently unable to show you my configuration. " "Please wait for my initialization to complete.`")
def command_configuration(_, update): if TelegramApp._is_valid_user(update): try: update.message.reply_text( InterfaceBot.get_command_configuration()) except Exception: update.message.reply_text( "I'm unfortunately currently unable to show you my configuration. " "Please wait for my initialization to complete.")