rockneurotiko/ex_gram

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

prtngn opened this issue ยท 0 comments

prtngn commented

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.