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

add auth via bot token #17

Open
vtolstov opened this issue Oct 3, 2018 · 5 comments
Open

add auth via bot token #17

vtolstov opened this issue Oct 3, 2018 · 5 comments

Comments

@vtolstov
Copy link

vtolstov commented Oct 3, 2018

I want to use this via bot token and so need ability to auth not only by phone, but with bot token.

@cjongseok
Copy link
Owner

cjongseok commented Oct 10, 2018

@vtolstov Thanks for your interest in this project. As far as I know, Telegram Bot is quite different with general users. I think Bot account would only work with Bot API.

@vtolstov
Copy link
Author

I have bot account and don't want to auth by my phone and code, but want to auth bot via provided bot secret

@cjongseok
Copy link
Owner

I am not sure Telegram would allow bot account to auth to Telegram API, and this project implements Telegram API.
That is, each account can only authenticate to its API, respectively.

phone -> Telegram API
bot -> Bot API

And bot -> Telegram API is not allowed as far as I know.

@cjongseok
Copy link
Owner

cjongseok commented Oct 15, 2018

@vtolstov interesting. Bot can auth to Telegram API! Thanks for the good information. It seems auth.importBotAuthorization() can handle that. As you know open source projects are open to contributions, and so it is. If you can participate in the project for the feature you suggested, it would be nice :). Because I am so busy theses days for building up my startup from the scratch. So I am not sure I can make time for the feature.

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