# Receiving message send to the telegram bot in different domain

**URL:** <https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433>\
**Category:** General\
**Created:** [15 May 2023 13:20 UTC](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433 "2023-05-15T13:20:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALIEN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alien/32/62198_2.png) [@ALIEN](https://discourse.nodered.org/u/ALIEN)\
**Post date:** [15 May 2023 13:20 UTC](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433/1 "2023-05-15T13:20:44Z")

</div>

Hello everyone,

I have a question about telegram api, I would appreciate it if somebody can help me.  
Actually, I'm reading an array of data through modbus tcp and store it in local database(mysql). Now, I would like to access the data in another pc hosted in different domain. So, I tried to build a telegram bot and by using token and api receving the data in my pc(hosted in different domain) but I didn't suceeded.

This is the data I'm sending to chatbot :

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/5/a5cb30e417a4556d55a4859905c8e42a0fea71f2.png)

and here you can see the array received in chat!:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/232759906106103e86e24a3cb16d9c7233a304b2.png)

As I mentioned this process is done in pc connected to the PLC and my question is can I use the token and api in my pc and receive the same payload?  
Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [15 May 2023 13:38 UTC](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433/2 "2023-05-15T13:38:28Z")

</div>

This thread may be of help [Telegram bot to bot commands - #5 by Tinbum1](https://discourse.nodered.org/t/telegram-bot-to-bot-commands/76689/5)

You could also use a cloud based mqtt broker and then us mqtt to send between devices.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 July 2023 13:38 UTC](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433/3 "2023-07-14T13:38:54Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
