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

Open
rettama opened this Issue May 9, 2016 · 4 comments

Comments

Projects
None yet
5 participants
@rettama

rettama commented May 9, 2016

Hi.

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.

@nullifye

This comment has been minimized.

Contributor

nullifye commented May 14, 2016

use --bot/-b switch

telegram-cli -b YOUR-BOT-KEY

@authorized13

This comment has been minimized.

authorized13 commented Jun 25, 2016

@hk0O7

This comment has been minimized.

hk0O7 commented Apr 5, 2017

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

@websafe

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?
cc: @LOCOSP

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