Hi!
Please, I can't find out information about how to share a folder or a file to the team. I found how to share to users only, like this:
client.sharing().addFolderMember(...)
The addFolderMember members parameter takes a list of AddMember. The MemberSelector in each AddMember can be specified by email or Dropbox ID. Using MemberSelector.dropboxId you can pass in a group ID, e.g., for the team group to share with the team.