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

Fix typo with Replying message example #95

Closed
prondubuisi opened this issue Aug 3, 2022 · 0 comments · Fixed by #96
Closed

Fix typo with Replying message example #95

prondubuisi opened this issue Aug 3, 2022 · 0 comments · Fixed by #96

Comments

@prondubuisi
Copy link
Contributor

I think there is a typo in the reply message example

$msg_bob = $channel->sendMessage(["text" => "Hi June!"], 'bob-1');

// Reply to a message
$reply_bob = $channel->sendMessage(["text" => "Long time no see!"], 'bob-1', $msg_june['message']['id']);

The third parameter for sendMessage should be $msg_bob['message']['id'] not $msg_june['message']['id'], as $msg_june is not declared anywhere within the snippet.

I am making a PR for this

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