-
Notifications
You must be signed in to change notification settings - Fork 45
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
Please support ContextFunc<string> in type of questionText #44
Comments
In order to detect its an answer the library currently checks for the As this check of the replied message is done on every message coming in it is performance critical. Also when the result of the function would change between the user hitting the button and the response of the user the library would not be able to detect the users reply at all. the user would be stuck. This is why I chose to prefer an always the same The menu in general uses the |
@EdJoPaTo I understand what you say and I have faced with this situation in developing my bots in the past years. So I have a solution for you! My Technic: For example: Step 1
Now we go ahead and hide the sign by this way: Step 2
Step 3OK! That's it...👌
|
An interesting approach! One thing that came to mind: Telegram checks the urls and tries to generate Link Previews. Having an url in there will trigger the same. This might require a non existing url (which will for sure non existing). Something like In order to have this stateless the |
@EdJoPaTo , Thank you for your points. That's why I used Yes, I means each question should have a unique But I think there is a better way instead of getting the We can use the text of the For example:
|
I used Thanks again for this idea how to approach it! |
Now
questionText
just supportstring
.Please support
ContextFunc<string>
in type ofquestionText
too.The text was updated successfully, but these errors were encountered: