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

[guide] setup telegram push notification for bot #5150

Closed
Lntnam opened this issue Sep 3, 2016 · 3 comments
Closed

[guide] setup telegram push notification for bot #5150

Lntnam opened this issue Sep 3, 2016 · 3 comments

Comments

@Lntnam
Copy link

Lntnam commented Sep 3, 2016

It took me a while to Google this out so I am going to put it here, hoping it may benefit other people.

If you have not known, currently the bot has already implemented Telegram notification. The reason why you are still not able to receive anything from the alert_catch option is you have not told the bot which Telegram account it should send the message to. This is where the "master" option come in.

As the instruction says, you need to enter your chat ID into that master option.

In order to find out your chat ID, open Telegram app, find the @get_id_bot bot. Once found you can ask \my_id and you will get it.

That's it, put the ID into master option and cross your finger.

P.S. the bot does inform you on newly hatched pokemons, not only the new catches.

@avexus
Copy link

avexus commented Sep 3, 2016

Thank you. Now I can talk both ways.

@Gobberwart
Copy link
Contributor

Note also that the bot will display a log message like:

[2016-09-04 06:55:31] [MainThread] [PokemonGoBot] [INFO] message from USERNAME (USERID): MESSAGETEXT

whenever a message is received. You can just grab your ID from there.

@oralunal
Copy link
Contributor

oralunal commented Sep 4, 2016

Please make a PR and update configuration file ;)

@oralunal oralunal closed this as completed Sep 4, 2016
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

4 participants