-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to put comma inside button on telegram bot keyboard #41750
Comments
telegram documentation |
after looking the code, currently this is how the argument parsed : core/homeassistant/components/telegram_bot/__init__.py Lines 518 to 526 in 6ccdf62
possible change is, by using yaml array instead comma separator, so comma could be used in the layout text. from this :
to this :
if it's ok, I want to make PR about this. please let me know what you think. |
Well, what I would do is change So that any time I want separate buttons I use semicolon, but when I use comma it stays comma. Like so:
This still seems to be not the best solution thou. And it might be not a correct solution at all since I'm very weak at yaml |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
For now there's no way to create a keyboard with a comma inside the button. The HA splits the button in two and there's no way to prevent it (At least I couldn't find one). This behavior is not expected in my opinion. There should be a way to create such keyboards, just like one shown on https://core.telegram.org/bots#keyboards
Environment
Problem-relevant
yaml
The text was updated successfully, but these errors were encountered: