# \[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:** 16

<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:** [August 26, 2023, 2:55pm UTC](https://community.homey.app/t/app-pro-telegram/66622/304 "2023-08-26T14:55:39Z")

</div>

Check out 2.8.9

> **[Telegram](https://homey.app/en-us/app/com.spkes.telegramNotifications/Telegram/)**
>
> Effortlessly control your smart home with 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:** [August 26, 2023, 2:59pm UTC](https://community.homey.app/t/app-pro-telegram/66622/305 "2023-08-26T14:59:21Z")

</div>

Yes with the fix I can save it !!! GREAT

---

<div class="post-metadata">

**Author:** ![basvanderploeg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basvanderploeg/32/83556_2.png) [@basvanderploeg](https://community.homey.app/u/basvanderploeg)\
**Post date:** [August 26, 2023, 3:24pm UTC](https://community.homey.app/t/app-pro-telegram/66622/306 "2023-08-26T15:24:56Z")

</div>

Thanks! It’s working 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:** [August 26, 2023, 5:52pm UTC](https://community.homey.app/t/app-pro-telegram/66622/307 "2023-08-26T17:52:10Z")

</div>

![IMG_4145](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/064b47b9f5d22fed53686e0a4c7bfd4f76e09ab4.png)

What means this messages ?

---

<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:** [August 26, 2023, 6:23pm UTC](https://community.homey.app/t/app-pro-telegram/66622/308 "2023-08-26T18:23:14Z")

</div>

That it fails to send an Image. If you scroll to the left you can see the reason

---

<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:** [August 26, 2023, 6:34pm UTC](https://community.homey.app/t/app-pro-telegram/66622/310 "2023-08-26T18:34:44Z")

</div>

Is this okay so. ?

So yes, then I receive nothing…

 ![IMG_0423](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/eac92e4debd09ffddb5fce97002cfdf449078654.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:** [August 26, 2023, 6:57pm UTC](https://community.homey.app/t/app-pro-telegram/66622/311 "2023-08-26T18:57:35Z")

</div>

Send me a diagnostic report or try to understand the error message

---

<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:** [August 26, 2023, 7:20pm UTC](https://community.homey.app/t/app-pro-telegram/66622/312 "2023-08-26T19:20:47Z")

</div>

613019e5-443d-4903-acc1-4c25101da559

---

<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:** [August 26, 2023, 7:24pm UTC](https://community.homey.app/t/app-pro-telegram/66622/313 "2023-08-26T19:24:01Z")

</div>

Thank you for helping

Before the update it working fine !

---

<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:** [August 26, 2023, 7:35pm UTC](https://community.homey.app/t/app-pro-telegram/66622/314 "2023-08-26T19:35:17Z")

</div>

Bad Request: can’t parse entities: Character ‘(’ is reserved and must be escaped with the preceding ‘\’"

Please read the error. Make sure you‘re escape non markdown characters.

It looks like your variables have special characters in it. Ether switch to html or use BLL to escape

---

<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:** [August 26, 2023, 8:42pm UTC](https://community.homey.app/t/app-pro-telegram/66622/315 "2023-08-26T20:42:20Z")

</div>

So in the flow above what must I do then ?

---

<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:** [August 27, 2023, 4:20am UTC](https://community.homey.app/t/app-pro-telegram/66622/316 "2023-08-27T04:20:37Z")

</div>

> [@spkesDE](#):
>
> Ether switch to html or use BLL to escape

This

---

<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:** [August 27, 2023, 8:40am UTC](https://community.homey.app/t/app-pro-telegram/66622/317 "2023-08-27T08:40:38Z")

</div>

Yeah oke but why does it not work in this flow ?

If I make a normal flow and worry _bold_ then I’m  
Sending a message

---

<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:** [August 27, 2023, 9:16am UTC](https://community.homey.app/t/app-pro-telegram/66622/318 "2023-08-27T09:16:19Z")

</div>

> [@Mariomark1541](#):
>
> If I have a normal flow and worry (bold), then I’m  
> Sending a message

Because you’re using variables that use SPECIAL characters. e.g `. , * / & % $`  
And Telegram can’t differ from a Markdown SPECIAL character.  
So these non-Markdown Characters have to be escaped using a `/` e.g., `/(` or `/*` or `/,` since you can’t do this, because you’re using variables, you have two ways to fix this. Either use HTML Markdown or use Better Logic Library and add a custom function for escaping

Like this one and use it like this: `{[escapeRegex(variable)]}`

```auto
function escapeRegex(string) {
    return string.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
}

```

---

<div class="post-metadata">

**Author:** ![JB2K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jb2k/32/134070_2.png) [@JB2K](https://community.homey.app/u/JB2K)\
**Post date:** [August 27, 2023, 6:15pm UTC](https://community.homey.app/t/app-pro-telegram/66622/319 "2023-08-27T18:15:08Z")

</div>

Is it possible to call the inline menu by a /command command like

If telegram was received

And it contains /lights

Show inline menu “lights”

---

<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:** [August 27, 2023, 6:44pm UTC](https://community.homey.app/t/app-pro-telegram/66622/320 "2023-08-27T18:44:15Z")

</div>

sure, via the GotFather bot you can add the commend to your bot

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/8/383945be8e3798c6f51eca3e63fbadab3de81265.png)

---

<div class="post-metadata">

**Author:** ![SossieNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sossienl/32/11341_2.png) [@SossieNL](https://community.homey.app/u/SossieNL)\
**Post date:** [August 30, 2023, 10:51am UTC](https://community.homey.app/t/app-pro-telegram/66622/321 "2023-08-30T10:51:54Z")

</div>

I’ve been using the other Telegram Homey app for many years. It’s a live ‘logbook’ on what is happening in my house. Almost every action/motion etc. is reflected there.

However, I’m missing important capabilities that I do find here. So I’m going to slowly move over my integrations to this app. First of all, thanks for the efforts so far!!

A simple integration, but important to my security system is sending images to my Telegram bot.  
I’ve tried a direct URL, an Image tag from the security camera and Image Grabber, but all are failing to get the image in my telegram using the “Send Image with message” card.  
Any ideas? Normal messages are send ok.

This error below from the logs is when I directly use the snapshot tag in my flow.

GrammyError: Call to ‘sendPhoto’ failed! (400: Bad Request: IMAGE\_PROCESS\_FAILED)  
at toGrammyError (/app/node\_modules/grammy/out/core/error.js:35:12)  
at ApiClient.callApi (/app/node\_modules/grammy/out/core/client.js:86:48)  
at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
at async /app/flow/actions/sendTagImageWithMessage.js:23:17

Flow:

 ![Scherm­afbeelding 2023-08-30 om 12.49.53](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/a/8a70e19bda5ea5149aea3eec337e1fe9d5eb0cf2.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:** [August 30, 2023, 10:57am UTC](https://community.homey.app/t/app-pro-telegram/66622/322 "2023-08-30T10:57:22Z")

</div>

Could you send me a diagnostics report right after this error is happening?

---

<div class="post-metadata">

**Author:** ![MrBlue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrblue/32/5446_2.png) [@MrBlue](https://community.homey.app/u/MrBlue)\
**Post date:** [September 7, 2023, 4:15pm UTC](https://community.homey.app/t/app-pro-telegram/66622/323 "2023-09-07T16:15:02Z")

</div>

Hi all,  
Has anyone been able to get the URL/Hyperlink markdown to work?  
I would like to send a Google Maps link over Telegram, but don’t want to include the full url.  
I’ve been reading that `[text](http://example.com)` should work, but it doesn’t.  
Looking forward to your thoughts on this!

---

<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:** [September 7, 2023, 4:18pm UTC](https://community.homey.app/t/app-pro-telegram/66622/324 "2023-09-07T16:18:18Z")

</div>

it should work. Did you enable MarkdownV2 in the settings?

```auto
*Hi\!* _Welcome_ to [Telegram](https://telegram.org)\.

```

This worked for me.

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

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