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 set data for message by JSON type? #11

Open
lttin0912 opened this issue Oct 20, 2016 · 1 comment
Open

How to set data for message by JSON type? #11

lttin0912 opened this issue Oct 20, 2016 · 1 comment

Comments

@lttin0912
Copy link

I want to use setData function for message by JSON type instead of array. Can I do this?
$message->setNotification($note)
->setData(array('someId' => 111));
Thank you.

@giaphiep
Copy link

you can send json type in body of notification 💃

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

2 participants