예제 #1
0
def rm_channel(chat_id):
    rem = SESSION.query(fban).get(str(chat_id))
    if rem:
        SESSION.delete(rem)
        SESSION.commit()
예제 #2
0
def removeid(chat_id):
    safai = SESSION.query(Blockedid).get(str(chat_id))
    if safai:
        SESSION.delete(safai)
        SESSION.commit()