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

Display keyboard on send message function #7

Open
Yawolf opened this issue May 23, 2016 · 0 comments
Open

Display keyboard on send message function #7

Yawolf opened this issue May 23, 2016 · 0 comments

Comments

@Yawolf
Copy link
Owner

Yawolf commented May 23, 2016

A function that creates de proper JSON for a InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardHide or ForceReply.

Using this function will not be necessary to write the json, it will by generated.

e.g:
Yocingo,send_message id, "yes?", false, nil, gen_reply_keyboard_markup(...)

instead of:

Yocingo,send_message id, "yes?", false, nil, {"keyboard" => [...], "one_time_keyboard" => true}

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

No branches or pull requests

1 participant