Commit 6bb3ea94 authored by MBoretto's avatar MBoretto

inline query command fixed

parent 22bda564
...@@ -37,7 +37,7 @@ class InlinequeryCommand extends SystemCommand ...@@ -37,7 +37,7 @@ class InlinequeryCommand extends SystemCommand
$inline_query = $update->getInlineQuery(); $inline_query = $update->getInlineQuery();
$query = $inline_query->getQuery(); $query = $inline_query->getQuery();
$data = ['inline_query_id' => $inline_query->getId()]; $data['inline_query_id'] = $inline_query->getId();
$articles = [ $articles = [
['id' => '001', 'title' => 'https://core.telegram.org/bots/api#answerinlinequery', 'message_text' => 'you enter: ' . $query , 'input_message_content' => new InputTextMessageContent([ 'message_text' => ' ' . $query ])], ['id' => '001', 'title' => 'https://core.telegram.org/bots/api#answerinlinequery', 'message_text' => 'you enter: ' . $query , 'input_message_content' => new InputTextMessageContent([ 'message_text' => ' ' . $query ])],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment