ex_gram icon indicating copy to clipboard operation
ex_gram copied to clipboard

I don't understand, why Dsl.edit not working with ReplyKeyboardMarkup

Open prtngn opened this issue 1 year ago • 0 comments

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.

prtngn avatar May 18 '23 14:05 prtngn