Guest User

Untitled

a guest
Apr 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. {
  2. "groups": [
  3. {
  4. "isPublic": true,
  5. "members": [
  6. true
  7. ],
  8. "numberOfMembers": 1,
  9. "groupId": "-LAOPAzMGzOd9qULPxue"
  10. },
  11. {
  12. "isPublic": true,
  13. "members": [
  14. true
  15. ],
  16. "numberOfMembers": 1,
  17. "groupId": "-LAOP7ISDI2JPzAgTYGi"
  18. }
  19. ]
  20. }
  21.  
  22. return mFunctions
  23. .getHttpsCallable("addMessage")
  24. .call(data)
  25. .continueWith(new Continuation<HttpsCallableResult, String>() {
  26. @Override
  27. public String then(@NonNull Task<HttpsCallableResult> task) throws Exception {
  28. String result = (String) task.getResult().getData();
  29. return result;
  30. }
  31. });
Add Comment
Please, Sign In to add comment