Closed DanielWeiser closed 3 years ago
$keyboard = new InlineKeyboardMarkup( [ [ ['text' => 'Смотреть', 'url' => 'https://www.kinopoisk.ru'] ] ] );
$this->tgClient->sendPhoto( $update->getMessage()->getChat()->getId(), $film->getAttribute('poster_url'), $film->getAttribute('description'), 'html', null, null, null, null, $keyboard );
What's wrong?
$this->tgClient->sendPhoto( $update->getMessage()->getChat()->getId(), $film->getAttribute('poster_url'), $film->getAttribute('description'), null, $keyboard );
it's work
$keyboard = new InlineKeyboardMarkup( [ [ ['text' => 'Смотреть', 'url' => 'https://www.kinopoisk.ru'] ] ] );
$this->tgClient->sendPhoto( $update->getMessage()->getChat()->getId(), $film->getAttribute('poster_url'), $film->getAttribute('description'), 'html', null, null, null, null, $keyboard );
What's wrong?