mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 21: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>)|
|
(end (allday <Date>)|<Time>)|
|
||||||
guestscantinviteothers|
|
guestscantinviteothers|
|
||||||
guestscantseeothers|
|
guestscantseeothers|
|
||||||
|
hangoutsmeet|
|
||||||
(id <String>)|
|
(id <String>)|
|
||||||
(location <String>)|
|
(location <String>)|
|
||||||
(noreminders| (reminder <Number> email|popup|sms))|
|
(noreminders| (reminder <Number> email|popup|sms))|
|
||||||
|
|||||||
@@ -3724,6 +3724,9 @@ def doCalendarAddEvent():
|
|||||||
elif myarg == 'colorindex':
|
elif myarg == 'colorindex':
|
||||||
body['colorId'] = getInteger(sys.argv[i+1], myarg, CALENDAR_EVENT_MIN_COLOR_INDEX, CALENDAR_EVENT_MAX_COLOR_INDEX)
|
body['colorId'] = getInteger(sys.argv[i+1], myarg, CALENDAR_EVENT_MIN_COLOR_INDEX, CALENDAR_EVENT_MAX_COLOR_INDEX)
|
||||||
i += 2
|
i += 2
|
||||||
|
elif myarg == 'hangoutsmeet':
|
||||||
|
body['conferenceData'] = {'createRequest': {'requestId': f'{str(uuid.uuid4())}'}}
|
||||||
|
i += 1
|
||||||
else:
|
else:
|
||||||
controlflow.invalid_argument_exit(sys.argv[i], "gam calendar <email> addevent")
|
controlflow.invalid_argument_exit(sys.argv[i], "gam calendar <email> addevent")
|
||||||
if ('recurrence' in body) and (('start' in body) or ('end' in body)):
|
if ('recurrence' in body) and (('start' in body) or ('end' in body)):
|
||||||
|
|||||||
Reference in New Issue
Block a user