Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 974 Bytes

File metadata and controls

31 lines (26 loc) · 974 Bytes
description Automatically generated file. DO NOT MODIFY
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.meeting_registration import MeetingRegistration
from msgraph_beta.generated.models.meeting_speaker import MeetingSpeaker
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = MeetingRegistration(
	subject = "Microsoft Ignite: Day 1",
	start_date_time = "2021-11-02T08:00:00-08:00",
	end_date_time = "2021-11-02T15:45:00-08:00",
	speakers = [
		MeetingSpeaker(
			display_name = "Henry Ross",
			bio = "Chairman and Chief Executive Officer",
		),
		MeetingSpeaker(
			display_name = "Fred Ryan",
			bio = "CVP",
		),
	],
)

result = await graph_client.me.online_meetings.by_online_meeting_id('onlineMeeting-id').registration.patch(request_body)