diff --git a/README.md b/README.md index 9b7d1b1..63bc437 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ All data lives in Redis under the `telegram-export` prefix. No key references an telegram-export:config -> JSON config: { api_id, api_hash, phone, group_ids } telegram-export:session -> StringSession string (login) -telegram-export:run:: -> one group's export as JSON: +telegram-export:group:: -> one group's export as JSON: { group_id, title, time, members: [{ id, username, first_name, last_name }] } ``` @@ -82,8 +82,8 @@ for rec in list_exports(): # sorted by (time, group_id) print(rec['time'], rec['group_id'], rec['title'], len(rec['members']), 'members') ``` -If you have data written with the older `run: