Skip to content

eric2100/Telegram_make_all_read

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram_make_all_read

一個可以全已讀 Telegram 訊息的東東。
對不起了肝肝 但我真的需要這個酷功能QQ

Can make Telegram all as read.
sorry to my liver, but i need this method. QQ


注意事項

目前docker-compose化、新功能、... 我決定搞定期中考後再說

!add_white_by_message 目前只能在頻道跟超級群組上生效。


使用方式

示範

點下面的 GIF 可至 youtube 觀看。
示範的GIF(YT)

指令

  • !allread or !aror ar
    全部對話標示為已讀
    (make all read)
    僅在 儲存的訊息 內有效
    (only in "Save Messages" is can be use)
    儲存的訊息

  • !stopor```stop``
    強制停止程式
    (force stop program)
    僅在 儲存的訊息 內有效
    (only in "Save Messages" is can be use)

  • !add_white or add_white or !aw or aw
    加入白名單
    (add to white list)
    僅在 個人、群組、超級群組 有效
    (only in user、group、supergroup is can be use)

  • !add_white_by_message or add_white_by_message or !awbm or awbm
    "頻道" 的訊息轉到儲存的訊息後,在儲存的訊息,內回覆該訊息來加入白名單
    (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)
    Imgur

  • !rm_white or rm_white or !rw or rw
    移除白名單
    (remove from white list)
    僅在 個人、群組、超級群組 有效
    (only in user、group、supergroup is can be use)

  • !list_white or list_white or !lw or lw
    列出白名單
    (print white list)
    僅在 儲存的訊息 內有效
    (only in "Save Messages" is can be use)

  • !allread_igron_white or allread_igron_white or !ariw or ariw
    全部對話(忽略白名單)標示為已讀
    (make all read, but if in white list br not)
    (only in "Save Messages" is can be use)
    僅在 儲存的訊息 內有效


如何部屬(安裝?)

  1. 登入 Telegram
  2. 點 API development tools,並申請一個應用程式
  3. 拿到你的 'App api_id'、'App api_hash'(對了 這個只能申請一次)
  4. 進到 cinfig/base.py 把步驟三的東西貼上
  5. (可選 Optional)看看要不要修改 cinfig/base.py 中的 Language (目前只有"zh-tw" 和 "en",如果要新增的話要自己去 cinfig/word.py 按照格式新增)
  6. (可選 Optional)看不要修改 cinfig/command.py 中的指令
  7. 執行 pip install -r requirements.txtpython main.py
  8. 按照指示輸入手機(台灣的記得最前面+886 然後09的0不用 直接+8869xxx)
  9. 去 telegram 上收驗證碼後登入
  10. 沒了 就享受這功能吧~~~

About

一個可以全已讀 Telegram 訊息的東東。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Dockerfile 1.2%