-1

I'm new to telegram bots, I want access to my bot users chat_id? is it possible? another way? existence?

I could not find any description about that. How can I obtain it for a user?

Sami
  • 1
  • 3
  • You may find the chat_id of your bot via the telegram cli but I don't know why you should want this. To obtain the chat_id of an user. The user simply has to contact your bot and in the message you receive from telegram there is the chat_id. – oruckdeschel Mar 15 '16 at 09:18

1 Answers1

0

You have just to store. You can do when an user starts the bot or when he uses some command.

There's no Telegram provided method at the moment.

Regwy
  • 121
  • 12