iyear / tdl

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

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

Closed Parantric closed 2 months ago

Parantric commented 4 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 2 months 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.