如何使用Google Calendaer API创建视频群聊会议?

时间:2020-05-31 00:29:10

标签: php api google-calendar-api

这是来自Google API文档 **效果很好,但我需要自动创建视频群聊会议**

`$event = new Google_Service_Calendar_Event(array(
    'summary' => 'GooGlE API',
    'location' => '800 Howard St., San Francisco, CA 94103',
    'description' => 'A chance to hear more about Google\'s developer products.',
    'start' => array(
      'dateTime' => '2020-06-02T09:00:00-07:00',
      'timeZone' => 'America/Los_Angeles',

    ),
    'end' => array(
      'dateTime' => '2020-06-02T09:00:00-07:00',
      'timeZone' => 'America/Los_Angeles',
    ),
    'recurrence' => array(
      'RRULE:FREQ=DAILY;COUNT=1'
    ),
    'attendees' => array(

    //   array('email' => 'sbrin@example.com'),
    ),
    'reminders' => array(
      'useDefault' => FALSE,
      'overrides' => array(
        array('method' => 'email', 'minutes' => 24 * 60),
        array('method' => 'popup', 'minutes' => 10),
      ),
    ),
));

  $calendarId = 'primary';
  $event = $service->events->insert($calendarId, $event);
  printf('Event created: %s\n', $event->htmlLink);`

如何使用Google Calendar API创建视频群聊会议?

0 个答案:

没有答案