Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upeditMessageReplyMarkup not working with reply_markup (InlineKeyboardMarkup) #9
Comments
|
There was a little bug. I reviewed the code and it only affects to Thanks for the report! |
I tryed to run this code with editMessageReplyMarkup and failed with "Unsupported value type for form field"
`## Not run:
Initialize bot
bot <- Bot(token = "TOKEN")
chat_id <- "CHAT_ID"
message_id <- "MESSAGE ID"
Create Inline Keyboard
text <- "Could you type their phone number, please?"
IKM <- InlineKeyboardMarkup(
inline_keyboard = list(
list(InlineKeyboardButton(1),
InlineKeyboardButton(2),
InlineKeyboardButton(3)),
list(InlineKeyboardButton(4),
InlineKeyboardButton(5),
InlineKeyboardButton(6)),
list(InlineKeyboardButton(7),
InlineKeyboardButton(8),
InlineKeyboardButton(9)),
list(InlineKeyboardButton("*"),
InlineKeyboardButton(0),
InlineKeyboardButton("#"))
)
)
Send Inline Keyboard
End(Not run)`
Error in curl::handle_setform(handle, .list = req$fields) :
Unsupported value type for form field 'reply_markup'.
Calls: ... -> -> request_perform ->
Execution halted