iyear / tdl

📥 A Telegram toolkit written in Golang
https://docs.iyear.me/tdl
GNU Affero General Public License v3.0
4.24k stars 431 forks source link

How can I query the tags contained in a message? Is there such a filter? #661

Closed Parantric closed 1 week ago

Parantric commented 3 months ago

How can I query the tags contained in a message? Is there such a filter? For example:List channels that VisibleName contains “Telegram” **tdl chat ls -f "Type contains 'channel' && VisibleName contains 'Telegram'"**

iyear commented 1 week ago

Use tdl chat export -c CHAT -f 'Message contains "#TAG"' to filter out the target messages. Then use tdl dl -f tdl-export.json for batch downloading.