def getUpdates(chat_id):
    query = sql.Dialog.select().where(
        sql.Dialog.chat_id == chat_id).dicts().execute()

    for i in query:
        print(i)

    print(bot.get_updates())
    return bot.get_updates()
Exemple #2
0
def getUpdates(chat_id):
    print(bot.get_updates())
    return bot.get_updates()