ex_gram
ex_gram copied to clipboard
I don't understand, why Dsl.edit not working with ReplyKeyboardMarkup
I try to edit message:
context
|> edit(
:inline,
"Give your phone",
reply_markup: %ReplyKeyboardMarkup{
keyboard: [
[
%KeyboardButton{
text: "📲 Get phone",
request_contact: true
}
],
[
%KeyboardButton{
text: "📵 Stop"
}
]
],
resize_keyboard: true,
one_time_keyboard: true
}
)
and this is not working. But if I send reply_markup: %InlineKeyboardMarkup
all ok.