Closed elFerZur closed 6 years ago
@elFerZur Are you trying to use it in a channel? Or group? Can you explain a bit more the situation?
@rubenlagus I tried to make a keyboard in a channel and failed with this error. I would like to know if it is even possible in a channel, I have an impression you can't reply in any way in a channel
You can’t send a Reply Keyboard in a channel, indeed subscribers cannot send messages. But you can send an Inline Keyboard.
Trying to set custom keyboard:
But always same error:
Error sending message: [400] Bad Request: inline keyboard expected
Sending message: "{"chat_id":"-1011336565116","text":"Configurando Keyboard","reply_markup":{"@class":"org.telegram.telegrambots.api.objects.replykeyboard.ReplyKeyboardMarkup","keyboard":[[{"@class":"org.telegram.telegrambots.api.objects.replykeyboard.buttons.KeyboardButton","text":"Button 1"}]],"one_time_keyboard":false},"method":"sendmessage"}"