2

我正在使用管理员凭据进行身份验证。我正在接收管理员在团队驱动器上执行的活动,但与团队驱动器共享的成员执行的活动没有出现webhook

private Channel watchChange(String channelId, String channelType, String channelAddress) {
 Channel channel = new Channel();
 channel.setId(channelId + "12324");
 channel.setType(channelType);
 channel.setAddress(channelAddress);
 try {
  return mService.changes().watch(channel).setIncludeTeamDriveItems(true).setTeamDriveId("0AFfTyZpwE9hxUk9PVA").setSupportsTeamDrives(true).execute();
 } catch (IOException e) {
  e.printStackTrace();
 }
 return null;
}
4

0 回答 0