Hitmare
Hitmare
You will need the GenericmessageCommand.php from the example bot
> > You will need the GenericmessageCommand.php from the example bot > > I tried to check it out. When I tried to output what data is coming to this...
> Same I do have. The file GenericmessageCommand.php itself was copied from src into my commands folder. I've tried to log getMessage or simply print a string to log in...
> Hello everyone, how can I handle regular messages from users? I don't need to process the command. > > I need to process for example the message "Hello" and...
HI It is Possible to delete messages with Inline buttons, i do it myself In your Callbackquery you will need the following: ``` $deldata = [ 'chat_id' => $chat_id, 'message_id'...
As far as i could see in the example command [GenericmessageCommand.php](https://github.com/php-telegram-bot/example-bot/blob/master/Commands/Conversation/GenericmessageCommand.php) of the Conversation Example, there exists the function to check if an conversation is active, on line 79 `$conversation->exists()`...
> If I understand this correctly GenericMessageCommand is not executed on commands, only on messages. That is true. I mentioned that file because it has already an example how you...
you could make a check within a conversation command , something like this ``` //within the "public function execute(): ServerResponse" function $message = $this->getMessage(); // If a conversation is busy,...
you are right. it seems that way. but we can "just" copy the check from the file itself and do something like this !the code was not tested! ```php $conversation...
Hello You can set the parse_mode when sending a message A function to set the parse_mode bot wide hasn't been implemented yet