udf / the-tag-bot

@TheTagBot - your personal media search engine on Telegram
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add way to force list view #2

Closed udf closed 2 years ago

udf commented 2 years ago

This would let you see the tags of the results. list:yes, all it would do is set the result type to file (not sure if InputPhoto works as the document result wants a InputDocument)

There is also a potential to add type:all as all [citation needed] media can be sent with the file type.

udf commented 2 years ago

Looks like photos cant be sent this way, that removes type:all as an option and puts list:yes on hold until I can figure out how to display them as a list.

udf commented 2 years ago

InputBotInlineResultPhoto has a type parameter but telethon doesn't have a way to set it with the builder so it has to be called manually. (not sure if mixing photos and documents is possible with this)

udf commented 2 years ago

Only documents can be displayed in a list view, so now t:doc shows all documents in a list view