Skip to content

Commit

Permalink
docs(cmd): v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed May 24, 2023
1 parent ec7ac1b commit a301e1c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
18 changes: 11 additions & 7 deletions docs/command/tdl_chat_export.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ tdl chat export [flags]
### Options

```
-c, --chat string chat id or domain
-f, --filter stringToString only export media files that match the filter (regex). Default to all. Options: file, content (default [])
-h, --help help for export
-i, --input ints input data, depends on export type
-o, --output string output JSON file path (default "tdl-export.json")
-T, --type string export type. time: timestamp range, id: message id range, last: last N messages: {time|id|last} (default "time")
--with-content export with message content
--all export all messages including non-media messages, but still affected by filter and type flag
-c, --chat string chat id or domain
-f, --filter string filter messages by expression, defaults to match all messages. Specify '-' to see available fields (default "true")
-h, --help help for export
-i, --input ints input data, depends on export type
-o, --output string output JSON file path (default "tdl-export.json")
--raw export raw message struct of Telegram MTProto API, useful for debugging
--reply int specify channel post id
--topic int specify topic id
-T, --type string export type. time: timestamp range, id: message id range, last: last N messages: {time|id|last} (default "time")
--with-content export with message content
```

### Options inherited from parent commands
Expand Down
4 changes: 3 additions & 1 deletion docs/command/tdl_chat_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ tdl chat ls [flags]
### Options

```
-h, --help help for ls
-f, --filter string filter chats by expression (default "true")
-h, --help help for ls
-o, --output string output format: {table|json} (default "table")
```

### Options inherited from parent commands
Expand Down
1 change: 1 addition & 0 deletions docs/command/tdl_upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ tdl upload [flags]
-e, --excludes strings exclude the specified file extensions
-h, --help help for upload
-p, --path strings dirs or files
--rm remove the uploaded files after uploading
```

### Options inherited from parent commands
Expand Down

0 comments on commit a301e1c

Please sign in to comment.