MeetingClient Class

Client for managing Teams meetings.

Initialize the MeetingClient.

Constructor

MeetingClient(service_url: str, options: Client | ClientOptions | None = None, api_client_settings: ApiClientSettings | None = None)

Parameters

Name Description
service_url
Required

The service URL for API calls.

options

Optional Client or ClientOptions instance. If not provided, a default Client will be created.

Default value: None
api_client_settings

Optional API client settings.

Default value: None

Methods

get_by_id

Retrieves meeting information including details, organizer, and conversation.

get_participant

Retrieves information about a specific participant in a meeting.

send_notification

Send a targeted meeting notification to participants.

Returns None on full success (HTTP 202). Returns a MeetingNotificationResponse with failure details on partial success (HTTP 207).

get_by_id

Retrieves meeting information including details, organizer, and conversation.

async get_by_id(id: str) -> MeetingInfo

Parameters

Name Description
id
Required

The meeting ID.

Returns

Type Description

The meeting information.

get_participant

Retrieves information about a specific participant in a meeting.

async get_participant(meeting_id: str, id: str, tenant_id: str) -> MeetingParticipant

Parameters

Name Description
meeting_id
Required

The meeting ID.

id
Required

The user AAD object ID.

tenant_id
Required

The tenant ID of the meeting and user.

Returns

Type Description

The meeting participant information.

send_notification

Send a targeted meeting notification to participants.

Returns None on full success (HTTP 202). Returns a MeetingNotificationResponse with failure details on partial success (HTTP 207).

async send_notification(meeting_id: str, params: MeetingNotificationParams) -> MeetingNotificationResponse | None

Parameters

Name Description
meeting_id
Required

The BASE64-encoded meeting ID.

params
Required

The notification parameters including recipients and surfaces.

Returns

Type Description

None if all notifications were sent successfully, or a MeetingNotificationResponse with per-recipient failure details on partial success.