openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[telegram] Buttons in multiple Lines with sendTelegramQuery #11482

Open agh251256 opened 3 years ago

agh251256 commented 3 years ago

I`m using OH3.1

What I need is a Tip. Momently the command sendTelegramQuery(text, replayid, button, button,......) show all button in one line. [button] [button] [button] and so on. How can I using multiple lines e.g.: [button] [button] [button] [ button ] [ button ]

The examples don`t nothing say about this feature.

Skinah commented 3 years ago

Possibly you mean this feature which is not yet implemented.

https://github.com/openhab/openhab-addons/issues/7279

Check out what the java library supports and can be added. https://github.com/pengrad/java-telegram-bot-api#keyboards

agh251256 commented 3 years ago

Yes, it is

oriolfg commented 2 years ago

Please!! Is a great idea implement the multiline in send query, when send 4 options is impossible read all in one line