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

How to add optional reply_to_message_id #62

Closed
Iyongbudiarso opened this issue Apr 7, 2019 · 2 comments
Closed

How to add optional reply_to_message_id #62

Iyongbudiarso opened this issue Apr 7, 2019 · 2 comments
Labels

Comments

@Iyongbudiarso
Copy link

How to add optional parameter reply_to_message_id on botman?

@nullcookies
Copy link

How to add optional parameter reply_to_message_id on botman?
This code works

   $parameters = array_merge([
                'reply_to_message_id' => $bot->getMessage()->getPayload()['message_id'],

            ]);
            $bot->reply($question, $parameters);

@feralheart
Copy link
Contributor

Thank you for your answer @nullcookies
I will add it to the documentation

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

No branches or pull requests

3 participants