Telegram-bot-sdk: how to send keyboard only without reply

Created on 23 Nov 2017  路  1Comment  路  Source: irazasyed/telegram-bot-sdk

currently i send the keyboard using

$keyboard = [
    ['/getcurrentprice'],
    ['/addpricenotify'],
    ['/removepricenotify']
];

$reply_markup = $this->telegram->replyKeyboardMarkup([
    'keyboard' => $keyboard, 
    'resize_keyboard' => true, 
    'one_time_keyboard' => true,
]);

$this->telegram->sendMessage([
    'chat_id' => '-------------', 
    'text' => 'test',
    'reply_markup' => $reply_markup
]);

and the result is

image

how do you send keyboard only without the "reply" like this (without the red box above)?

image

>All comments

I think it is impossible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dswtech picture dswtech  路  4Comments

khalilst picture khalilst  路  3Comments

danilopinotti picture danilopinotti  路  3Comments

wlinh picture wlinh  路  3Comments

jahanzaibbahadur picture jahanzaibbahadur  路  4Comments