feat: added export to csv file

This commit is contained in:
Savely Savianok
2025-02-11 22:37:33 +03:00
parent e9db40dee9
commit d0ad97f08b
8 changed files with 130 additions and 74 deletions

View File

@@ -6,11 +6,12 @@ Program for calculate statistics of messages sended in telegram with your friend
## Usage
.\TelegramMessageCounter.exe --login (phone number) --user (username) <path>
.\TelegramMessageCounter.exe --login <phone_number> --user <username> <path>
where
- `--login (-L)` - Phone number of telegram. If argument is empty, waiting for Keyboard interrupt
- `--user` - Username of telegram for individual stats. If argument is empty, analyzing all user history
- `path` - Path to save results file. If argument is empty, path will be `results.txt`
- `path` - Path to save results file. If argument is empty, path will be `results.txt`, if path contain '.csv' program
will output stats in CSV format.
To invoke this text use