Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 568 Bytes

get-telegram-bot-chat-id.md

File metadata and controls

26 lines (23 loc) · 568 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
get-telegram-bot-chat-id
telegram
public
2022-08-11 14:20:57 -0700
2022-08-11 14:20:57 -0700
false
20220811212057
false
false
telegram
bot
chat-id
api
Get Telegram Bot Chat ID
tech-note

Send a message to your Telegram Bot first using the Bot token, then you can retrieve the Chat ID.

curl --silent --request GET https://api.telegram.org/bot<bot_api_token>/getUpdates | jq '.result[]|.message.chat.id'