Skip to content

matteocontrini/telegram-chat-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Chat Stats

Generates and sends a report with counts of messages sent in a given chat in the previous day.

Usage

Environment variables:

  • API_ID: Telegram API ID
  • API_HASH: Telegram API hash
  • BOT_TOKEN: Telegram bot token
  • CHAT_ID: Telegram chat ID to calculate the stats for
  • CHANNEL_ID: Telegram channel ID to send the report to
  • SESSION_NAME: name of the Pyrogram session (reads/writes to {SESSION_NAME}.session)

Run with:

pipenv install
pipenv run python main.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages