def add_in_db(chat_id: int): lodu = Blockedid(str(chat_id)) SESSION.add(lodu) SESSION.commit()
def add_usersid_in_db(chat_id: int): id_user = Moidata(str(chat_id)) SESSION.add(id_user) SESSION.commit()