We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e669102 commit a4a10d2Copy full SHA for a4a10d2
bot examples/webhook/update.php
@@ -35,6 +35,7 @@
35
//Test Inline
36
$data = $telegram->getData();
37
if ($data['inline_query'] !== null && $data['inline_query'] != '') {
38
+ $query = $data["inline_query"]["query"];
39
// GIF Examples
40
if (strpos('testText', $query) !== false) {
41
$results = json_encode([['type' => 'gif', 'id'=> '1', 'gif_url' => 'http://i1260.photobucket.com/albums/ii571/LMFAOSPEAKS/LMFAO/113481459.gif', 'thumb_url'=>'http://i1260.photobucket.com/albums/ii571/LMFAOSPEAKS/LMFAO/113481459.gif']]);
0 commit comments