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

[Info] - Whitelist and chat_id #88

Open
Jorman opened this issue Jan 8, 2024 · 1 comment
Open

[Info] - Whitelist and chat_id #88

Jorman opened this issue Jan 8, 2024 · 1 comment

Comments

@Jorman
Copy link

Jorman commented Jan 8, 2024

Hi, thanks for this software, I was looking for just something like this.
I am thinking of implementing an additional script for sharing the requested files, again via telegram, I know I have to respect some size limits and this is not a big problem.
However, I have two questions about this, is there any way to know/record or otherwise keep track of the id of the user making the request?
Is there a way to create a whitelist, to be updated manually or by request to the admin of the users who use it?
Let me explain further, let's say I want to do a favor for a friend of mine and I pass him the data to access the bot and he uses it, but then he shares the information with a friend of his and so on, if there were some kind of white list, one could block access to those who are not authorized.
The first question on the other hand is about the requestor's id, because I would like to send the file directly to the person who requested it, so I have the bot's id but to address the message I also need the person's id, at least that's what I seem to have seen, am I doing it wrong?

@Jorman Jorman changed the title [Info] - [Info] - Whitelist and chat_id Jan 8, 2024
@Jorman
Copy link
Author

Jorman commented Jan 14, 2024

Hi, small update, I was able to upload the files, however I would like to communicate with the user who made the request, would it be possible to also add the chat_id in the _tag_with_username tag?
The final tag would then be searcharr-username-chat_id or searcharr-userid-chat_id
Then I would have all the information to manage and communicate with users

What do you think?

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

1 participant