# \[APP\]\[Pro\] Telegram

**URL:** <https://community.homey.app/t/app-pro-telegram/66622>\
**Category:** Apps\
**Tags:** app, flow, homey-pro\
**Created:** [July 28, 2022, 1:34pm UTC](https://community.homey.app/t/app-pro-telegram/66622 "2022-07-28T13:34:36Z")\
**Posts on this page:** 20\
**Page:** 18

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 31, 2023, 4:07pm UTC](https://community.homey.app/t/app-pro-telegram/66622/346 "2023-10-31T16:07:30Z")

</div>

> [@spkesDE](#):
>
> I mean, I also have also a` Send a <message to <chat>` then card

Aaaah yes! I noticed it by myself yesterday and replaced it with your app’s ‘send a message card’ already 🤪 While I was wondering why the acknowledgement by the flow was not appearing below the answered question. And I didn’t use [my earlier example flow](https://community.homey.app/t/app-pro-telegram/66622/161) as template here hehe. I completely forgot.

And, it’s just a habit I use the CallMeBot Signal and Telegram cards quite often, your app is only running when needed (I have only 1GB of RAM… and too many nice apps out there!)

> [@spkesDE](#):
>
> I don’t really know where the issue is. Could you explain the issue you’re facing a little more?

— Homey 2019 v8.1.6  
— app v2.10.0 test

1. OK good news: The question with pre-defined answers works fine, when one answers it by picking a pre-defined answer

- 
  - But, when I enter an answer myself to the question with pre-defined answers, nothing happens.  
_Should it work? I just assumed that’s just not possible with the app_

1. I added a second question, one without pre-defined answers.  
It did work before yesterday, but yesterday I could not get it to work anymore. It seems to not trigger the When a question was answered card.  
 → I created new Then and When cards, picked the right question again, but of no avail.  
Now, while test running the flow, this error popped up:  
 ![Screenshot from 2023-10-31 16-02-26](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4c5c174ad19cd82c6b15c70fb6938ba9df449429.png)  
.  
So, after a while I found out the script which sends the acknowledgement, had a sentence with `( )` signs in it. Yesterday I enabled `MarkdownV2` so that was the cause. So I just disabled it again.  
In hindsight this error was also in the logs, but I couldn’t imagine what caused it, and what sent the error message.  
I also enabled BLL Support yesterday, and disabled it again just now.  
But, unfortunately it still doesn’t trigger the “a question has been answered” card.  
An app restart, and installing the stable version v2.10.0, did not make a difference:  
.  
 ![Screenshot from 2023-10-31 16-27-31](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/3/938ae253421d058cb28a503c2d943fe8f4872e21.png)  
.  
As you can see at the Telegram screen below, only the " A message is received card" triggered, but that’s not a usable triggercard in this flow:  
 ![Screenshot from 2023-10-31 16-13-55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac2417642bdeeed43aa54a4e36df1a1fad508ced.png)

- I created a new free to answer question, but it also does not trigger the “The question … has been answered” card

Still there? 😊

---

<div class="post-metadata">

**Author:** ![JMH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jmh/32/29230_2.png) [@JMH](https://community.homey.app/u/JMH)\
**Post date:** [November 14, 2023, 9:06am UTC](https://community.homey.app/t/app-pro-telegram/66622/347 "2023-11-14T09:06:33Z")

</div>

Is it possible to disable the copy-button at the `<pre></pre>`-tag?  
When the text in the tag is longer a button appears, don’t need that button 😊 I like the collored block, makes my messages beter to read / screen for important parts, but the button not needed.

 ![Screenshot_20231113_001129_Telegram](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d84788c03c69d1e06e306c489dd6fc7f4bd45b32.jpeg)

---

<div class="post-metadata">

**Author:** ![Timmm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timmm/32/110251_2.png) [@Timmm](https://community.homey.app/u/Timmm)\
**Post date:** [November 14, 2023, 1:15pm UTC](https://community.homey.app/t/app-pro-telegram/66622/349 "2023-11-14T13:15:57Z")

</div>

Hi, can you show how you did this?  
thanks (dankjewel…)

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [November 14, 2023, 4:28pm UTC](https://community.homey.app/t/app-pro-telegram/66622/350 "2023-11-14T16:28:51Z")

</div>

> [@Timmm](#):
>
> Hi, can you show how you did this?

You can use the question system. You can setup questions in the settings menu under “Questions” and send them via THEN Flow cards and react to them using WHEN Flow cards

---

<div class="post-metadata">

**Author:** ![KarlO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/karlo/32/79886_2.png) [@KarlO](https://community.homey.app/u/KarlO)\
**Post date:** [November 17, 2023, 9:16am UTC](https://community.homey.app/t/app-pro-telegram/66622/352 "2023-11-17T09:16:41Z")

</div>

Sorry, I posted in the wrong forum, after the old “Telegram Bot” app has stopped working (permanently. I think). I set up a new bot using this app instead, but am having some startup issues. Username comes in as “undefined” after registering and starting a new bot and a message is received, but I seem to be able to use “First Name” instead.

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [November 18, 2023, 9:06am UTC](https://community.homey.app/t/app-pro-telegram/66622/353 "2023-11-18T09:06:09Z")

</div>

It’s not mandatory to have a username, so there are users with no username.

# F.A.Q.

Since I got over the last couple of days the same questions over and over again. I created an FAQ!

> [@\[APP\]\[Pro\] Telegram](https://community.homey.app/t/app-pro-telegram/66622/2):
>
> Frequently Asked Questions (FAQs) - Homey Pro Telegram Bot App Q1: I’m encountering a “Bad Request: can’t parse entities” error with the message, “Character ‘(’ is reserved and must be escaped with the preceding ‘\’”. What should I do? play_button Answer Q2: How can I escape non-Markdown characters in my variables? play_button Answer Q3: Why am I getting an error related to special characters in my variables, and how does the Better Logic Library (BLL) help? play_button Answer Q4: How does markdown work (HTML vs. MarkdownV2…

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [November 20, 2023, 11:04am UTC](https://community.homey.app/t/app-pro-telegram/66622/354 "2023-11-20T11:04:56Z")

</div>

@spkesDE after the update looks like image sending will not work anymore

 ![IMG_4812](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/a/fac77ecc19bfa014cea8bf05063ca367c16182f7.jpeg)

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [November 20, 2023, 1:07pm UTC](https://community.homey.app/t/app-pro-telegram/66622/355 "2023-11-20T13:07:15Z")

</div>

Didn’t change anything on image handling.

Could you send a diagnostic report.  
Looks like the response from athom/homey is invalid

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [November 20, 2023, 2:16pm UTC](https://community.homey.app/t/app-pro-telegram/66622/356 "2023-11-20T14:16:00Z")

</div>

I tried a reboot what fix my problem for now

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [December 2, 2023, 8:16pm UTC](https://community.homey.app/t/app-pro-telegram/66622/357 "2023-12-02T20:16:38Z")

</div>

Another question

When I send an image without message I can see a preview image on my iPhone when I send an image with text and image I can’t see the preview ?

 ![IMG_4897](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a4e10ca00bc6af42c6ba7c18ec0182a92a37add8.jpeg)  
 ![IMG_4896](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/be4311362790fc79f08970ec16b50162d52152ab.jpeg)

@spkesDE see screenshot  
Forst one is without image and second one woth

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [December 3, 2023, 4:12am UTC](https://community.homey.app/t/app-pro-telegram/66622/358 "2023-12-03T04:12:47Z")

</div>

I can’t tell you why this is. Its something you would have to ask telegram

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [December 3, 2023, 9:09am UTC](https://community.homey.app/t/app-pro-telegram/66622/359 "2023-12-03T09:09:18Z")

</div>

But it’s weird right

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [December 3, 2023, 9:10am UTC](https://community.homey.app/t/app-pro-telegram/66622/360 "2023-12-03T09:10:36Z")

</div>

Also see a lot of errors

 ![IMG_4898](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d16f48cccf5e3350b73a29770a08d0ca78789d40.png)

Here is diagnostics rapport 5e106e33-6607-4a74-9972-4cd9254e4cdb

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [December 3, 2023, 10:53am UTC](https://community.homey.app/t/app-pro-telegram/66622/361 "2023-12-03T10:53:58Z")

</div>

Thats kind of normal; you tried to send an image that doesnt exist yet.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [December 3, 2023, 12:10pm UTC](https://community.homey.app/t/app-pro-telegram/66622/362 "2023-12-03T12:10:16Z")

</div>

Okay

Now I’ve got this message

How can I fix it

 ![IMG_4904](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0c0078d20de3aa094af49a71cd295a9e733c341d.png)

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [December 3, 2023, 1:06pm UTC](https://community.homey.app/t/app-pro-telegram/66622/363 "2023-12-03T13:06:59Z")

</div>

Re-Add the group using /start

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [December 3, 2023, 2:24pm UTC](https://community.homey.app/t/app-pro-telegram/66622/364 "2023-12-03T14:24:34Z")

</div>

# [Version 2.11.0 is now live!](https://homey.app/a/com.spkes.telegramNotifications)

> ## Changelog 🎉
> 
> - Updated dependencies

---

<div class="post-metadata">

**Author:** ![Timmm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timmm/32/110251_2.png) [@Timmm](https://community.homey.app/u/Timmm)\
**Post date:** [December 14, 2023, 7:29pm UTC](https://community.homey.app/t/app-pro-telegram/66622/365 "2023-12-14T19:29:37Z")

</div>

Help!

my telegram isnt working anymore. Everything else in Homey works fine.  
I got this errorcode:

HttpError: Network request for ‘sendMessage’ failed!\n at /app/node\_modules/grammy/out/core/error.js:74:15\n at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)\n at async ApiClient.call (/app/node\_modules/grammy/out/core/client.js:54:29)

some enetunereach fail…  
Im lost here…!

Can anybody help me? I´d be happy to pay for a solution

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [December 14, 2023, 8:15pm UTC](https://community.homey.app/t/app-pro-telegram/66622/366 "2023-12-14T20:15:05Z")

</div>

It just still works fine - are you sure you are using version from spkesDE, right ?

> **[Telegram](https://homey.app/en-us/app/com.spkes.telegramNotifications/Telegram/)**
>
> Effortlessly control your smart home with Telegram

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [December 14, 2023, 8:29pm UTC](https://community.homey.app/t/app-pro-telegram/66622/367 "2023-12-14T20:29:11Z")

</div>

As a more advanced troubleshooting step, you can consider trying an SSH experiment or jailbreaking to get SSH access to Homey. With SSH access, you can try to ping `api.telegram.org` to check if there’s a connectivity issue between Homey and the Telegram API.

As we discussed in the group, it’s most likely a problem on your side since you’re the only user who reported this issue, and it started after changing stuff on your local network. Maybe @robertklep has an idea why this happens to you.

```auto
2023-12-13T13:08:01.825Z [err] HttpError: Network request for 'sendMessage' failed!
    at /app/node_modules/grammy/out/core/error.js:74:15
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ApiClient.call (/app/node_modules/grammy/out/core/client.js:54:29) {
  error: FetchError: request to https://api.telegram.org/***/sendMessage failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443
      at ClientRequest.<anonymous> (/app/node_modules/grammy/node_modules/node-fetch/lib/index.js:1501:11)
      at ClientRequest.emit (node:events:517:28)
      at TLSSocket.socketErrorListener (node:_http_client:501:9)
      at TLSSocket.emit (node:events:517:28)
      at emitErrorNT (node:internal/streams/destroy:151:8)
      at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    type: 'system',
    errno: 'ENETUNREACH',
    code: 'ENETUNREACH'
  }
}

```

(2001:67c:4e8:f004::9:443 is the IPv6 of [api.telegram.org](http://api.telegram.org))

[Previous page](https://community.homey.app/t/app-pro-telegram/66622.md?page=17)

[Next page](https://community.homey.app/t/app-pro-telegram/66622.md?page=19)
