예제 #1
0
def add_in_db(chat_id: int):
    lodu = Blockedid(str(chat_id))
    SESSION.add(lodu)
    SESSION.commit()
예제 #2
0
def add_usersid_in_db(chat_id: int):
    id_user = Moidata(str(chat_id))
    SESSION.add(id_user)
    SESSION.commit()