Aggiornare 'mybot.php'
This commit is contained in:
parent
b9eb93c134
commit
ac5405e42e
10
mybot.php
10
mybot.php
|
@ -18,6 +18,9 @@ $inline_query_text = $telegram->Inline_Query_Text();
|
||||||
$msgType = $telegram->getUpdateType();
|
$msgType = $telegram->getUpdateType();
|
||||||
$text = $telegram->Text();
|
$text = $telegram->Text();
|
||||||
$chat_id = $telegram->ChatID();
|
$chat_id = $telegram->ChatID();
|
||||||
|
$message_id = $telegram->MessageID();
|
||||||
|
$username = $telegram->Username();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
include("frasi.php");
|
include("frasi.php");
|
||||||
|
@ -86,5 +89,10 @@ $searchquery = substr($text, 6);
|
||||||
'disable_web_page_preview' => true
|
'disable_web_page_preview' => true
|
||||||
);
|
);
|
||||||
$telegram->sendMessage($content);
|
$telegram->sendMessage($content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BLACKLIST
|
||||||
|
|
||||||
|
include("blacklist.php");
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue