Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $keyboard = array(
- "inline_keyboard" => array(array(array(
- "text" => "button",
- "url" => "http://www.google.com"
- )))
- );
- $keyboard = json_encode($keyboard, true);
- $data = array(
- 'chat_id' => $chatid,
- 'text' => $text,
- 'reply_markup' => $keyboard,
- 'parse_mode' => 'html',
- );
Add Comment
Please, Sign In to add comment