Skip to main content
lucas
Rookie
Sep 24, 2024 12:55 PM UTC
Solved

How can I get the chat_id of a telegram user, who started a conversation with my bot

I created a Telegram bot, linked to my inboxes, and I’m developping a custom integration to send advanced Telegram messages, how can I get the chat_id of this conversation (Telegram-one), so my integrated plugin can retreive it on the current/opened conversation?

I managed to get the @username, I have my Telegram bot tokens, but no way to get the chat_id.

Fronteer
Sep 24, 2024 5:38 PM UTC

Hi Lucas,

We don’t currently have a way to retrieve the chat_id of a Telegram message within Front, but this should be possible using Telegram’s API, which you can then integrate within your plugin in Front. I’d suggest checking out their API documentation  and seeing what might be possible from there!

1 reply

Fronteer
Sep 24, 2024 5:38 PM UTC

Hi Lucas,

We don’t currently have a way to retrieve the chat_id of a Telegram message within Front, but this should be possible using Telegram’s API, which you can then integrate within your plugin in Front. I’d suggest checking out their API documentation  and seeing what might be possible from there!