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

Using commands with additional data is inconvenient #1

Open
Bobronium opened this issue May 2, 2022 · 1 comment
Open

Using commands with additional data is inconvenient #1

Bobronium opened this issue May 2, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Bobronium
Copy link

Bobronium commented May 2, 2022

Problem

Currently interactions with bot done via this scheme: user needs to send message with this layout: <command> <data>

Telegram interface suggests autocompletion for commands, however current design doesn't allow to combine autocompletion with additional data.

Proposal

Either use commands as state changers, e. g.:

  1. User sends command
  2. User sends data

Or, don't use commands at all, instead:

  1. User sends data
  2. Bot replies with reply markup containing available options for sent data

Both options will make backend more complex, bur will increase convenience for end user.

Whether such trade off is worth it/applicable/desirable is up to you.

I appreciate the functionality in any case. Thank you!

@kiriharu kiriharu self-assigned this May 10, 2022
@kiriharu kiriharu added the enhancement New feature or request label May 10, 2022
@kiriharu
Copy link
Member

It's good proposal, I'll think about this. Thank you!

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