Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature-Request] Add new favorites over Telegram-Menu #428

Closed
Tqnsls opened this issue Nov 13, 2023 · 2 comments
Closed

[Feature-Request] Add new favorites over Telegram-Menu #428

Tqnsls opened this issue Nov 13, 2023 · 2 comments

Comments

@Tqnsls
Copy link
Contributor

Tqnsls commented Nov 13, 2023

Hi Henning,
would it be possible to add a new menu-item to add more favorite items?
I am thinking of something like /add_favorite 123456, (which is the item_id) almost like the /mute 5 to mute it for 5 days.
In a latest state maybe the full URL could be used, idk.

I am trying to define a new command in the telegram.py. Pls notice I am not really a python dev. I already imported the tgtg_client but the latest error which I can not resolve (as I do not know how to load the tokens), was "You must provide at least email or access_token, refresh_token and user_id".
Maybe you can see this as an inspiration to extend the telegram.py or give me a hint how I could do it myself and merge it to the project.
I happily will share the stuff I copy-pasted til now :)

@floriegl
Copy link
Contributor

floriegl commented Dec 8, 2023

Hello, this exists already in the project (ether with using /addfavorites or by just sharing the item link with the bot). The issue is just that there wasn't a new prebuilt binary release after the changes were added. I don't know which platform you want to use the bot on but if you use any other installation method except prebuild binary the feature is included.

@Tqnsls
Copy link
Contributor Author

Tqnsls commented Dec 12, 2023

Ah, I just found your PR #386 :)
Tested in a venv and it worked, I hope @Der-Henning will build a new release soon :)

@Tqnsls Tqnsls closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants