Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

無法正常使用 #1

Closed
flier268 opened this issue Feb 15, 2020 · 1 comment
Closed

無法正常使用 #1

flier268 opened this issue Feb 15, 2020 · 1 comment

Comments

@flier268
Copy link

flier268 commented Feb 15, 2020

我的目標是在一個不公開的群組裡面添加bot,用來搜尋群組裡面的訊息
Bot是在群組裡面,並且只有群組內的人可以查詢對話紀錄(透過在逡組內輸入/search [Keyword])

我依照Readme裡面的步驟,但還是不法順利架設
因為我無需Client,所以我把這段刪除了

我有以下疑惑:

  • 如果沒有手動建立session資料夾,則會出現錯誤 (sqlite3.OperationalError: unable to open database file)
  • 架設步驟漏掉了REDIS、elasticsearch,這邊應該依照預設值安裝就好了吧
  • 如果Bot也在群組內,則這段應該改 event.chat_idevent.from_id
  • /download_history後,TG會回應"開始下載歷史記錄",但就沒有後續動作了
  • 可以搜尋私訊紀錄嗎?
@EYHN
Copy link
Owner

EYHN commented Apr 17, 2020

telegram bot无法监控消息内容,所以需要一个Client,Client是必须的不能删除。

@EYHN EYHN closed this as completed Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants