Skip to content

Instantly share code, notes, and snippets.

@ferdi2005
Created November 4, 2017 09:47
Show Gist options
  • Save ferdi2005/2ceeb4a89910b8c38491b0318c6b12b5 to your computer and use it in GitHub Desktop.
Save ferdi2005/2ceeb4a89910b8c38491b0318c6b12b5 to your computer and use it in GitHub Desktop.
<?php
if($msg == "/itastiera")
{
$menu[] = array(
array(
"text" => "bottone1",
"callback_data" => "/test1"),
array(
"text" => "bottone2",
"callback_data" => "/test2"),
);
$menu[] = array(
array(
"text" => "bottone3",
"callback_data" => "/test3"),
);
sm($chatID, "Tastiera inline.", $menu, 'Markdown', false, false, true);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment