You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does/can TDL support downloading all files from the comments section of a channel message? I tried using urls like https://t.me/c/{channel}/{thread}https://t.me/c/{channel}/?thread={thread} but only the first one worked - it downloaded the file from the message in the channel, not all messages from the comments of that message (from the discussion chat).
Also, please correct me if I am wrong. As I understand it, thread is the term for the message in the channel with all it's replies (visible as comments) in the discussion chat. Thread ID is just the ID of the message that started it (message from the channel forwarded to discussion chat).
Background
I use a (private) channel to post some files - large archives split into 2000 MiB parts (2000 MiB is the file size limit for free accounts). This channel supports comments. I group all parts of an archive by posting them as comments to the message with the name and description of the archive. I want to be able to download all parts with one command.
Workarounds
Export messages with tdl chat export and filter them by name using -f flag (Media.Name contains or sth).
edit: There's also --topic option for tdl chat export. but I am wondering if there's an url format or some other way to do it.
The text was updated successfully, but these errors were encountered:
Use tdl chat export --reply POST_ID to export the comments of the channel post. Then use tdl dl -f export_reply.json for batch downloading."
@iyear This is a solution for when a small amount of content is downloaded. When I add a new channel that has thousands of messages and the messages all contain attachments in the form of replies/comments in a packet/split-volume zip, this is very cumbersome and it's easy to miss the target, which is disastrous for small hamsters. I would like to see in the option to export all messages, add a command to export the message's corresponding comments and expand the message serial number or customize a serial number to make it easier to find the corresponding file after downloading, e.g. if the post's messagesid=1111, then the comment's replyid could be replyid=1111-1, or use a similar approach to handle message consistency. What do you think?
Proposal
Does/can TDL support downloading all files from the comments section of a channel message? I tried using urls like
https://t.me/c/{channel}/{thread}
https://t.me/c/{channel}/?thread={thread}
but only the first one worked - it downloaded the file from the message in the channel, not all messages from the comments of that message (from the discussion chat).Also, please correct me if I am wrong. As I understand it, thread is the term for the message in the channel with all it's replies (visible as comments) in the discussion chat. Thread ID is just the ID of the message that started it (message from the channel forwarded to discussion chat).
Background
I use a (private) channel to post some files - large archives split into 2000 MiB parts (2000 MiB is the file size limit for free accounts). This channel supports comments. I group all parts of an archive by posting them as comments to the message with the name and description of the archive. I want to be able to download all parts with one command.
Workarounds
Export messages with
tdl chat export
and filter them by name using-f
flag (Media.Name contains
or sth).edit: There's also
--topic
option fortdl chat export
. but I am wondering if there's an url format or some other way to do it.The text was updated successfully, but these errors were encountered: