You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Not an issue! Just a question...
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using?
4.17.0
What OS are you using?
Ubuntu 22.04
What version of python are you using?
3.10.12
How would i implement a '/repeat' last command?
Kinda simplified pseudocode example:
/repeat works, I can just click the forwarded message and it repeats the command
I also have a command that can be run either as '/info' (as a reply to a message) or as '/info item' to query info for 'item'.
send "/info item" as message
OR: send "/info" as a reply to a message
Does not work, as the forwarded 'command' only hotlinks "/info" not "/info item"
Same goes with the reply-type command...
For clarification: I want to run the same command on 'item' again, not save the previous result and return the saved result when running '/repeat'.
Beta Was this translation helpful? Give feedback.
All reactions