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

Chat ID #8

Open
Hussamfhaily opened this issue Dec 24, 2018 · 4 comments
Open

Chat ID #8

Hussamfhaily opened this issue Dec 24, 2018 · 4 comments

Comments

@Hussamfhaily
Copy link

Hello, how can I get the chat ID parameter.

@netRunner0
Copy link

Add group @GiveChatId_Bot
send /chatid@GiveChatId_Bot to chat

  • needed!

@Hussamfhaily
Copy link
Author

doesn't give the real ID

@netRunner0
Copy link

Screenshot please (chat)

@roboterm
Copy link
Contributor

Type https://api.telegram.org/bot[HTTP-TOKEN]/getUpdates in the browser.
You get the http-token from the BotFather.
In the browser you should then see an answer like
{"ok":true,"result":[{"update_id":277706888,
"message":{"message_id":3,"from":{"id":374629384,"first_name":"Christian","last_name":"L\u00fctgens"},"chat":{"id":374629384,"first_name":"Christian","last_name":"L\u00fctgens","type":"private"},"date":1485083417,"text":"Hallo hallo"}}]}
The value after “id” is the chat id.

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

3 participants