tdl chat export #
export messages from (protected) chat for download
tdl chat export [flags]
Options #
--all export all messages including non-media messages, but still affected by filter and type flag
-c, --chat string chat id or domain. If not specified, 'Saved Messages' will be used
-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 ExportType export type: [time, id, last] (default time)
--with-content export with message content
Options inherited from parent commands #
--debug enable debug mode
--delay duration delay between each task, zero means no delay
-l, --limit int max number of concurrent tasks (default 2)
-n, --ns string namespace for Telegram session (default "default")
--ntp string ntp server host, if not set, use system time
--pool int specify the size of the DC pool, zero means infinity (default 8)
--proxy string proxy address, format: protocol://username:password@host:port
--reconnect-timeout duration Telegram client reconnection backoff timeout, infinite if set to 0 (default 5m0s)
--storage stringToString storage options, format: type=driver,key1=value1,key2=value2. Available drivers: [legacy,bolt,file] (default [type=bolt,path=/home/runner/.tdl/data])
-t, --threads int max threads for transfer one item (default 4)
SEE ALSO #
- tdl chat - A set of chat tools