# How to read a variable in telegram

**URL:** <https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727>\
**Category:** Questions & Help\
**Created:** [August 1, 2023, 3:05pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727 "2023-08-01T15:05:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [August 1, 2023, 3:05pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/1 "2023-08-01T15:05:46Z")

</div>

Hello,  
I would like to set an answare with the telegram app where the answare is the value of a variable.  
Could someone help me to understand how to read the variable?

Tnx

---

<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:** [August 1, 2023, 6:06pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/2 "2023-08-01T18:06:45Z")

</div>

Please use the app topic for these questions, thanks

> [@\[HOWTO\] Find app support topics or support links](https://community.homey.app/t/howto-find-app-support-topics-or-support-links/68698):
>
> (NL versie vind je [hier](https://community.homey.app/t/howto-uitleg-hoe-vind-je-het-juiste-app-topic-of-de-juiste-support-links/68702) ) Dear Homey and forum user, Try to ask your question, or post your message, into related topics please: There’s a system with dedicated forum topics for most apps. This way, you will be able to get support the quickest way, and to get directly in touch with fellow app users and the developer(s). If not, there are often alternative support links present, like email or github issue tracker. How to: 1.Goto the app store → [https://homey.app](https://homey.app) 2.Search for the app

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [August 1, 2023, 6:47pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/3 "2023-08-01T18:47:19Z")

</div>

Ok, I thought it was more a “generic” question on how to retrieve variables in an app.  
Sorry

---

<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:** [August 1, 2023, 6:55pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/4 "2023-08-01T18:55:48Z")

</div>

I see, it wasn’t clear to me yet, but then you’d omit “Telegram” in the title I think.

Well, afaik it is not possible in most app configurations, like the Q & A system in Telegram, to use tags/variables as input values.  
Except (for what I know of) for the Device Capabilities app, which can use / show values of Better Logic variables

No clue, but maybe @spkesDE can add BLL variables reading functionality to his Telegram app one day, if he thinks it’s a good idea as well. I’ve no idea how easy or hard it is to realize.  
Albeit it’s the first time I’ve read about a request like yours 🤗 , and sometimes you don’t know what you miss until someone else mentions it 🙃😉

---

<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 2, 2023, 4:16am UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/5 "2023-08-02T04:16:00Z")

</div>

My telegram app already has BLL support

---

<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:** [August 2, 2023, 12:35pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/6 "2023-08-02T12:35:52Z")

</div>

I know, Julian, but from what I understand from what Skal is looking for is something like this, I made a mock-up to illustrate:

> ![Screenshot from 2023-08-02 13-21-06](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec0b78fe83cf0f3942ccbc8233f96105dd49cd1a.png)

I know it doesn’t work like that (like, hit the tag icon and select a var), but this is how it works in an advanced virtual device:

> ![Screenshot from 2023-08-02 14-34-42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/9/596166553ce149b5fd0aaa42c4350fda3ebd6a9f.png)

So it might be possible somehow to get a BLL var value as Telegram answer, but like I wrote already, I’ve no idea how easy or hard it is to realize.

---

<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 2, 2023, 12:38pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/7 "2023-08-02T12:38:09Z")

</div>

He wanted to use the Variable in a normal text. See here [[APP][Pro] Telegram - #271 by Skal](https://community.homey.app/t/app-pro-telegram/66622/271)

---

<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:** [August 2, 2023, 12:42pm UTC](https://community.homey.app/t/how-to-read-a-variable-in-telegram/85727/8 "2023-08-02T12:42:59Z")

</div>

Thanks, Julian.  
Oh my, then I completely misunderstood his question 🫣 , because using vars in a normal text field is standard available, not app specific.
