Choose who will see keyboard on replykeyboardmarkup with selective broken on Telegram clients
See original GitHub issueHey, great work! Really, I could assemble fine bot w/o any knowledge, very straightforward library.
I just found this is what I want to use from https://core.telegram.org/bots/api#replykeyboardmarkup
selective | Boolean | Optional. Use this parameter if you want to show the keyboard to
specific users only. Targets:
1) users that are @mentioned in the text of the Message object;
2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.Example:
A user requests to change the bot‘s language, bot replies to the request with a keyboard
to select the new language. Other users in the group don’t see the keyboard.
I should go and use this http://telegraf.js.org/#/?id=editmessagereplymarkup ?
Any help appreciated. Thanks 🙌
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
node-telegram-keyboard-wrapper-fix - npm package - Snyk
A support to create keyboards in Telegram via bots For more information about how to use this package see README.
Read more >Telegram bot keyboard - laravel - Stack Overflow
But in first case no keyboard in telegram client. In the second case it is present. What can I do wrong. laravel ·...
Read more >Telegram Bot Features
Whenever your bot sends a message, it can display a special keyboard with predefined reply options (see ReplyKeyboardMarkup). Telegram apps that receive the ......
Read more >Keyboards - Telegram Bot API - PHP SDK
Whenever your bot sends a message, it can pass along a special keyboard ... See ReplyKeyboardMarkup docs for a list of supported parameters...
Read more >telegram - Go Packages
func (Bot) SendAudio ¶ ... SendAudio send audio files, if you want Telegram clients to display them in the music player. Your audio...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for adding. But I think there is problem in Telegram clients with this. I can test during next days. Thanks for add anyway!
I put into markup.js
It works, when is command triggered from Desktop OSX and keyboard does not show up on iOS/Android. That’s fine. Without selective it shows keyboard every user. But when is triggered from iOS/Android, it looks like it will show on desktop either (not same user), but not on iOS/Android.
Looks like similar issue https://github.com/telegramdesktop/tdesktop/issues/3897#issuecomment-329915090