rapidwebltd/php-google-people-api

Contact Group Membership

luisdatec opened this issue · 1 comments

Hi! I am trying to add the Membership Group, and I cannot find the correct way to assign the Group to the contact. I have read some documentation that only is needed this part: https://developers.google.com/people/api/rest/v1/people#Person.ContactGroupMembership

So, I have added in the array this:
$contact->memberships[0]->contactGroupMembership->contactGroupResourceName = 'contactGroups/{GROUP_ID};

But, this is not taking the group. It saved all the data, but not the group.

Please let me know how to solve this.

Thanks.

Hello any idea ??