-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Inline keyboard without URL, just text #424
Comments
Use an empty {
reply_markup: {
inline_keyboard: [
[{
text: "my button",
callback_data: "",
}]
]
}
} |
According to Telegram Official Bot API,
You need to choose one from |
@alexandercerutti your code doesn't work, but helped me, thanks. working code is as follow:
|
Well, okay, I wrote it without watching the documentation ahah. You are welcome 👍 |
Seems like
url
parameter is optional ininline keyboard
ref, but I could not use inline keyboard without that.I have read:
I am using the latest version of the library.
Expected Behavior
Can use inline keyboard without
url
Actual Behavior
I got this error message:
Steps to reproduce the Behavior
Sample code:
With
url
code works.Thanks.
The text was updated successfully, but these errors were encountered: