how would i implement a repeat send command #2261
DonKannalie
started this conversation in
General
Replies: 1 comment
-
Sorry, I didn`t see/knew about the discussions tab...I`ll post the question there |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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...
Beta Was this translation helpful? Give feedback.
All reactions