Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prtngn opened this issue May 18, 2023 · 0 comments
Open

Comments

@prtngn
Copy link
Contributor

prtngn commented May 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant