一個可以全已讀 Telegram 訊息的東東。
對不起了肝肝 但我真的需要這個酷功能QQ
Can make Telegram all as read.
sorry to my liver, but i need this method. QQ
目前docker-compose化、新功能、... 我決定搞定期中考後再說
!add_white_by_message
目前只能在頻道跟超級群組上生效。
-
!allread
or!ar
orar
全部對話標示為已讀
(make all read)
僅在 儲存的訊息 內有效
(only in "Save Messages" is can be use)
-
!stop
or```stop``
強制停止程式
(force stop program)
僅在 儲存的訊息 內有效
(only in "Save Messages" is can be use) -
!add_white
oradd_white
or!aw
oraw
加入白名單
(add to white list)
僅在 個人、群組、超級群組 有效
(only in user、group、supergroup is can be use) -
!add_white_by_message
oradd_white_by_message
or!awbm
orawbm
將 "頻道" 的訊息轉到儲存的訊息後,在儲存的訊息,內回覆該訊息來加入白名單
(After transferring the "channel" message to the "Save Messages", reply to the message in the "Save Messages" to add to the whitelist)
僅在 儲存的訊息 有效
(only in "Save Messages" is can be use)
-
!rm_white
orrm_white
or!rw
orrw
移除白名單
(remove from white list)
僅在 個人、群組、超級群組 有效
(only in user、group、supergroup is can be use) -
!list_white
orlist_white
or!lw
orlw
列出白名單
(print white list)
僅在 儲存的訊息 內有效
(only in "Save Messages" is can be use) -
!allread_igron_white
orallread_igron_white
or!ariw
orariw
全部對話(忽略白名單)標示為已讀
(make all read, but if in white list br not)
(only in "Save Messages" is can be use)
僅在 儲存的訊息 內有效
- 登入 Telegram
- 點 API development tools,並申請一個應用程式
- 拿到你的 'App api_id'、'App api_hash'(對了 這個只能申請一次)
- 進到 cinfig/base.py 把步驟三的東西貼上
- (可選 Optional)看看要不要修改 cinfig/base.py 中的 Language (目前只有"zh-tw" 和 "en",如果要新增的話要自己去 cinfig/word.py 按照格式新增)
- (可選 Optional)看不要修改 cinfig/command.py 中的指令
- 執行
pip install -r requirements.txt
跟python main.py
- 按照指示輸入手機(台灣的記得最前面+886 然後09的0不用 直接+8869xxx)
- 去 telegram 上收驗證碼後登入
- 沒了 就享受這功能吧~~~