Skip to content
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

Change inline keyboard menu to chat-window-menu #13

Closed
Gryphire opened this issue Jul 26, 2023 · 1 comment
Closed

Change inline keyboard menu to chat-window-menu #13

Gryphire opened this issue Jul 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Gryphire
Copy link
Owner

Right now the top-level prompt menu (Value Tensions or Authentic Relating) utilized the inline keyboard menu option, meaning that rather than the user selecting a certain variable when they make a choice, they send the bot text input as if they had typed it in the chat themselves (i.e., as a result, the bot needs to scan the incoming messages for a specific piece of text—which needs to be unique enough to be specific to this context—in order to be able to act on the user's choice).

This is not ideal, and I believe I saw examples here and there of a chat-window-menu alternative. E.g., this screenshot of the Botfather chat, where a menu is displayed in the chat itself, rather than integrated into your keyboard.
IMG_714D663FAD1D-1

It would be great if we can figure out how this kind of a menu was created, and if we can implement that in our bot. The advantage of this approach should also be (I believe) that the responses will be handled as variables, which makes performing operations based on user input a little cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants