def command_stop(_, update): # TODO add confirmation if TelegramApp._is_valid_user(update): update.message.reply_text("I'm leaving this world...") InterfaceBot.set_command_stop()
def command_stop(_, update): # TODO add confirmation if TelegramApp._is_valid_user(update): TelegramApp._send_message(update, "_I'm leaving this world..._") InterfaceBot.set_command_stop()