Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Yes, you can.
$params['text'] = 'Выберите язык....';
$params['disable_notification'] = TRUE;
$params['parse_mode'] = 'HTML';
$button_en = array('text' => 'English', 'callback_data' => '/lang_english');
$button_ru = array('text' => 'Русский', 'callback_data' => '/lang_russian');
$keyboard = array('inline_keyboard' => array(array($button_en, $button_ru)));
$params['reply_markup'] = json_encode($keyboard, TRUE);
// выполняете sendMessage, у меня например вот так:
//$data = $this->tlgrm->send_message($params);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question