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
hello. yes you can to that by sending a Callback with the InlineKeyboard and using CallbackQueryCommand.php to fetch that callbackquery. Using $this->telegram->executeCommand('commandname'); you can start the Conversationcommand that handles the conversation. To get the chatID and userID you need to extract them from the CallbackQuery itself since the command was started by the Callbackquery and not by the user
Activity
[-]Conversation in CalbackqueryCommand?[/-][+]Conversation in CallbackqueryCommand?[/+]Hitmare commentedon Jun 18, 2024
hello. yes you can to that by sending a Callback with the InlineKeyboard and using CallbackQueryCommand.php to fetch that callbackquery. Using
$this->telegram->executeCommand('commandname');you can start the Conversationcommand that handles the conversation. To get the chatID and userID you need to extract them from the CallbackQuery itself since the command was started by the Callbackquery and not by the userIn addition, if you want to use inlinekeyboards within a Conversation you need to change some stuff, listed in here https://pastebin.com/qxQAekwj