mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Allow hangouts/meet link to be included in an event (#1110)
This commit is contained in:
@@ -1004,6 +1004,7 @@ The following attributes are equivalent:
|
||||
(end (allday <Date>)|<Time>)|
|
||||
guestscantinviteothers|
|
||||
guestscantseeothers|
|
||||
hangoutsmeet|
|
||||
(id <String>)|
|
||||
(location <String>)|
|
||||
(noreminders| (reminder <Number> email|popup|sms))|
|
||||
|
||||
@@ -3724,6 +3724,9 @@ def doCalendarAddEvent():
|
||||
elif myarg == 'colorindex':
|
||||
body['colorId'] = getInteger(sys.argv[i+1], myarg, CALENDAR_EVENT_MIN_COLOR_INDEX, CALENDAR_EVENT_MAX_COLOR_INDEX)
|
||||
i += 2
|
||||
elif myarg == 'hangoutsmeet':
|
||||
body['conferenceData'] = {'createRequest': {'requestId': f'{str(uuid.uuid4())}'}}
|
||||
i += 1
|
||||
else:
|
||||
controlflow.invalid_argument_exit(sys.argv[i], "gam calendar <email> addevent")
|
||||
if ('recurrence' in body) and (('start' in body) or ('end' in body)):
|
||||
|
||||
Reference in New Issue
Block a user