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

Use a Bot ID instead of a Phone Number with Telegram-CLI and Script #1100

rettama opened this Issue May 9, 2016 · 4 comments


None yet
5 participants

rettama commented May 9, 2016


Id like to find the way to use a Telegram Bot instead of a Phone Number in my pc. I need to use a Script with Telegram-CLI, so, i want to launch Telegram-CLI with my script, but using a bot instead of the phone number i inserted at the beggining.

Thank you so much.


This comment has been minimized.


nullifye commented May 14, 2016

use --bot/-b switch

telegram-cli -b YOUR-BOT-KEY


This comment has been minimized.

authorized13 commented Jun 25, 2016


This comment has been minimized.

hk0O7 commented Apr 5, 2017

@nullifye I haven't found this in the documentation.


This comment has been minimized.

websafe commented Jun 22, 2018

@nullifye where can I find "YOUR-BOT-KEY"? And telegram-cli keeps me asking for a hash... Is there a place, where the whole procedure is described? I need to be able to send messages to myself, so I've created a bot with botfather but what's next?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment