TeamsClient
Attributes
GetFlowContinuationSubscriptionWithPosterOutputMetadataInput
module-attribute
ThemeEditor
module-attribute
ThemeEditor = Literal['white', 'blue', 'green', 'purple', 'pink', 'yellow', 'gray', 'darkblue', 'darkgreen', 'darkpurple', 'darkpink', 'darkyellow']
TRIGGER_OPERATIONS
module-attribute
TRIGGER_OPERATIONS: Dict[str, Dict[str, Any]] = {'OnNewChannelMessage': {'operation_id': 'OnNewChannelMessage', 'path': '/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages', 'method': 'get', 'required_parameters': ['groupId', 'channelId'], 'callback_payload_type': 'ChatMessageList'}, 'OnNewChannelMessageMentioningMe': {'operation_id': 'OnNewChannelMessageMentioningMe', 'path': '/{connectionId}/trigger/beta/teams/{groupId}/channels/{channelId}/messages_mentioningme', 'method': 'get', 'required_parameters': ['groupId', 'channelId'], 'callback_payload_type': 'ChatMessageList'}, 'WebhookAtMentionTrigger': {'operation_id': 'WebhookAtMentionTrigger', 'path': '/{connectionId}/beta/subscriptions/atmentiontrigger/threadType/{threadType}', 'method': 'post', 'required_parameters': ['threadType'], 'callback_payload_type': None}, 'WebhookMessageReactionTrigger': {'operation_id': 'WebhookMessageReactionTrigger', 'path': '/{connectionId}/beta/subscriptions/messagereactiontrigger/threadType/{threadType}', 'method': 'post', 'required_parameters': ['reactionKey', 'frequency', 'runningPolicy', 'threadType'], 'callback_payload_type': None}, 'TranscriptTrigger': {'operation_id': 'TranscriptTrigger', 'path': '/{connectionId}/beta/subscriptions/transcripttrigger', 'method': 'post', 'required_parameters': ['scopeType', 'body'], 'callback_payload_type': None}, 'RecordingTrigger': {'operation_id': 'RecordingTrigger', 'path': '/{connectionId}/beta/subscriptions/recordingtrigger', 'method': 'post', 'required_parameters': ['scopeType', 'body'], 'callback_payload_type': None}, 'WebhookChatMessageTrigger': {'operation_id': 'WebhookChatMessageTrigger', 'path': '/{connectionId}/beta/subscriptions/chatmessagetrigger', 'method': 'post', 'required_parameters': ['ChatMessageSubscriptionRequest'], 'callback_payload_type': None}, 'WebhookKeywordTrigger': {'operation_id': 'WebhookKeywordTrigger', 'path': '/{connectionId}/beta/subscriptions/keywordtrigger/threadType/{threadType}', 'method': 'post', 'required_parameters': ['threadType', '$search'], 'callback_payload_type': None}, 'WebhookNewMessageTrigger': {'operation_id': 'WebhookNewMessageTrigger', 'path': '/{connectionId}/beta/subscriptions/newmessagetrigger/threadType/{threadType}', 'method': 'post', 'required_parameters': ['threadType'], 'callback_payload_type': None}, 'OnGroupMembershipRemoval': {'operation_id': 'OnGroupMembershipRemoval', 'path': '/{connectionId}/trigger/v1.0/groups/removal', 'method': 'get', 'required_parameters': ['groupId'], 'callback_payload_type': 'OnGroupMemberChangeResponse'}, 'OnGroupMembershipAdd': {'operation_id': 'OnGroupMembershipAdd', 'path': '/{connectionId}/trigger/v1.0/groups/delta', 'method': 'get', 'required_parameters': ['groupId'], 'callback_payload_type': 'OnGroupMemberChangeResponse'}}
Classes
NewMeetingResponse
dataclass
NewMeetingResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, categories: Optional[List[Any]] = None, time_zone: Optional[str] = None, reminder_minutes_before_start: Optional[int] = None, is_reminder_on: Optional[bool] = None, has_attachments: Optional[bool] = None, subject: Optional[str] = None, body_preview: Optional[str] = None, importance: Optional[str] = None, sensitivity: Optional[str] = None, is_all_day: Optional[bool] = None, is_cancelled: Optional[bool] = None, is_organizer: Optional[bool] = None, response_requested: Optional[bool] = None, show_as: Optional[str] = None, type_: Optional[str] = None, web_link: Optional[str] = None, online_meeting_url: Optional[str] = None, allow_new_time_proposals: Optional[bool] = None, recurrence: Optional[Dict[str, Any]] = None, response_status: Optional[Dict[str, Any]] = None, body: Optional[Dict[str, Any]] = None, start: Optional[Dict[str, Any]] = None, end: Optional[Dict[str, Any]] = None, location: Optional[Dict[str, Any]] = None, attendees: Optional[List[Dict[str, Any]]] = None, organizer: Optional[Dict[str, Any]] = None, online_meeting: Optional[Dict[str, Any]] = None)
Response for Create a Teams meeting
Attributes
created_date_time
class-attribute
instance-attribute
Timestamp the event was created
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
Timestamp the event was last modified
categories
class-attribute
instance-attribute
The categories associated with the event
time_zone
class-attribute
instance-attribute
Time zone of the event
reminder_minutes_before_start
class-attribute
instance-attribute
reminder_minutes_before_start: Optional[int] = field(default=None, metadata={'wire_name': 'reminderMinutesBeforeStart'})
The number of minutes before the event start time that the reminder alert occurs
is_reminder_on
class-attribute
instance-attribute
Set to true if an alert is set to remind the user of the event
has_attachments
class-attribute
instance-attribute
Set to true if the event has attachments
subject
class-attribute
instance-attribute
The text of the event's subject line
body_preview
class-attribute
instance-attribute
The preview of the message associated with the event
importance
class-attribute
instance-attribute
The importance of the event. The possible values are: low, normal, high
sensitivity
class-attribute
instance-attribute
Sensitivity of the event
is_all_day
class-attribute
instance-attribute
Set to true if the event lasts all day
is_cancelled
class-attribute
instance-attribute
Set to true if the event has been canceled
is_organizer
class-attribute
instance-attribute
Set to true if the calendar owner is the organizer of the event
response_requested
class-attribute
instance-attribute
response_requested: Optional[bool] = field(default=None, metadata={'wire_name': 'responseRequested'})
The organizer would like an invitee to send a response to the event
show_as
class-attribute
instance-attribute
The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
type_
class-attribute
instance-attribute
The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster
web_link
class-attribute
instance-attribute
The URL to open the event in Outlook on the web.
online_meeting_url
class-attribute
instance-attribute
A URL for an online meeting
allow_new_time_proposals
class-attribute
instance-attribute
allow_new_time_proposals: Optional[bool] = field(default=None, metadata={'wire_name': 'allowNewTimeProposals'})
True if the meeting organizer allows invitees to propose a new time when responding
recurrence
class-attribute
instance-attribute
The recurrence pattern for the event
response_status
class-attribute
instance-attribute
response_status: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'responseStatus'})
Indicates the type of response sent in response to an event message
body
class-attribute
instance-attribute
The body of the message associated with the event
start
class-attribute
instance-attribute
The start date, time, and time zone of the event
end
class-attribute
instance-attribute
The date, time, and time zone that the event ends
location
class-attribute
instance-attribute
The location of the event
attendees
class-attribute
instance-attribute
The collection of attendees for the event
GetAllTeamsResponse
dataclass
GetAllAssociatedTeamsResponse
dataclass
GetChannelsForGroupResponse
dataclass
CreateChannelInput
dataclass
CreateChannelInput(description: Optional[str] = None, display_name: Optional[str] = None, membership_type: Optional[str] = None)
Create a channel
Attributes
description
class-attribute
instance-attribute
Optional textual description for the channel
display_name
class-attribute
instance-attribute
Channel name as it appears in Microsoft Teams
membership_type
class-attribute
instance-attribute
The type of channel. Private channels are accessible only to specific members. Shared channels can be shared with users outside the team. Defaults to standard.
CreateChannelResponse
dataclass
CreateChannelResponse(description: Optional[str] = None, display_name: Optional[str] = None, id: Optional[str] = None, membership_type: Optional[str] = None)
Response for Create a channel
Attributes
description
class-attribute
instance-attribute
Optional textual description for the channel
display_name
class-attribute
instance-attribute
Channel name as it appears in Microsoft Teams
GetChannelResponse
dataclass
GetChannelResponse(id: Optional[str] = None, display_name: Optional[str] = None, description: Optional[str] = None, email: Optional[str] = None, tenant_id: Optional[str] = None, web_url: Optional[str] = None, files_folder_web_url: Optional[str] = None, created_date_time: Optional[str] = None, membership_type: Optional[str] = None)
Response for Get details for a specific channel in a team
Attributes
display_name
class-attribute
instance-attribute
The name of the channel
description
class-attribute
instance-attribute
The description of the channel, optional
email
class-attribute
instance-attribute
The email address for sending messages to the channel
tenant_id
class-attribute
instance-attribute
The ID of the Microsoft Entra tenant.
web_url
class-attribute
instance-attribute
A hyperlink for the channel in Microsoft Teams
files_folder_web_url
class-attribute
instance-attribute
files_folder_web_url: Optional[str] = field(default=None, metadata={'wire_name': 'filesFolderWebUrl'})
The SharePoint folder URL of the channel
created_date_time
class-attribute
instance-attribute
Timestamp at which the channel was created. Read only
UpdateChannelPropertiesInput
dataclass
Update channel
Attributes
display_name
class-attribute
instance-attribute
The new display name for the channel.
ArchiveChannelInput
dataclass
Archive a channel
Attributes
should_set_spo_site_read_only_for_members
class-attribute
instance-attribute
should_set_spo_site_read_only_for_members: Optional[bool] = field(default=None, metadata={'wire_name': 'shouldSetSpoSiteReadOnlyForMembers'})
If true, sets permissions for channel members to read-only on the SharePoint Online site associated with the team.
AsyncOperationResponse
dataclass
GetAllChannelsForTeamResponse
dataclass
GetChatsResponse
dataclass
AtMentionTagResponse
dataclass
GetMessagesFromConversationResponse
dataclass
GetMessagesFromConversationResponse(context: Optional[str] = None, count: Optional[int] = None, next_link: Optional[str] = None, value: Optional[ChatMessageList] = None)
Response for Get messages in a channel
Attributes
context
class-attribute
instance-attribute
@odata.context
count
class-attribute
instance-attribute
@odata.count
DynamicGetMessageDetailsResponseSchema
dataclass
ListRepliesResponseSchema
dataclass
ListMembersResponseSchema
dataclass
WebhookChatMessageTriggerInput
dataclass
When a new chat message is added
GetTeamResponse
dataclass
GetTeamResponse(id: Optional[str] = None, display_name: Optional[str] = None, description: Optional[str] = None, internal_id: Optional[str] = None, web_url: Optional[str] = None, is_archived: Optional[bool] = None, member_settings: Optional[MemberSettings] = None, guest_settings: Optional[GuestSettings] = None, messaging_settings: Optional[MessagingSettings] = None, fun_settings: Optional[FunSettings] = None, discovery_settings: Optional[DiscoverySettings] = None)
Response for Get a team
Attributes
display_name
class-attribute
instance-attribute
The name of the team
description
class-attribute
instance-attribute
The description of the team, optional
internal_id
class-attribute
instance-attribute
The internal ID of the team
web_url
class-attribute
instance-attribute
A hyperlink that will go to the team in the Microsoft Teams client
AtMentionUser
dataclass
NewChatResponse
dataclass
ChatMessage
dataclass
ChatMessage(attachments: Optional[List[Dict[str, Any]]] = None, body: Optional[Dict[str, Any]] = None, created_date_time: Optional[str] = None, deleted: Optional[bool] = None, etag: Optional[str] = None, from_: Optional[Dict[str, Any]] = None, id: Optional[str] = None, importance: Optional[str] = None, last_modified_date_time: Optional[str] = None, locale: Optional[str] = None, mentions: Optional[List[Dict[str, Any]]] = None, message_type: Optional[str] = None, reactions: Optional[List[Dict[str, Any]]] = None, reply_to_id: Optional[str] = None, subject: Optional[str] = None, summary: Optional[str] = None)
Response for Post a message to myself
Attributes
attachments
class-attribute
instance-attribute
attachments
body
class-attribute
instance-attribute
Plaintext representation of the content of the message
created_date_time
class-attribute
instance-attribute
Timestamp of when the chat message was created
etag
class-attribute
instance-attribute
Version number of the chat message.
from_
class-attribute
instance-attribute
The message sender
importance
class-attribute
instance-attribute
The importance of the message. The possible values are: normal, high, urgent.
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed
locale
class-attribute
instance-attribute
Locale of the chat message set by the client.
mentions
class-attribute
instance-attribute
List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel.
message_type
class-attribute
instance-attribute
The type of chat message
reactions
class-attribute
instance-attribute
Reactions for this chat message (for example, Like)
reply_to_id
class-attribute
instance-attribute
ID of the parent message of the thread
subject
class-attribute
instance-attribute
The subject of the chat message, optional
CreateATeamInput
dataclass
CreateATeamInput(display_name: Optional[str] = None, description: Optional[str] = None, visibility: Optional[str] = None)
Create a team
Attributes
display_name
class-attribute
instance-attribute
The name of the team
description
class-attribute
instance-attribute
An optional description for the team
CreateATeamResponse
dataclass
AddMemberToTeamInput
dataclass
Add a member to a team
AddMemberToChannelInput
dataclass
Add a member to a channel
PostToConversationResponse
dataclass
PostToConversationResponse(id: Optional[str] = None, message_link: Optional[str] = None, conversation_id: Optional[str] = None)
Response for Post message in a chat or channel
Attributes
message_link
class-attribute
instance-attribute
Link to the message in Microsoft Teams
PostCardAndWaitForResponseInput
dataclass
PostCardAndWaitForResponseInput(notification_url: Optional[str] = None, body: Optional[Dict[str, Any]] = None)
Post adaptive card and wait for a response
DynamicPostGatherInputToConversationResponse
dataclass
ObjectWithoutType
dataclass
AddMemberToChatInput
dataclass
AddMemberToChatInput(user_id: Optional[str] = None, owner: Optional[bool] = None, visible_history_start_date_time: Optional[str] = None)
Add a user to a chat
Attributes
user_id
class-attribute
instance-attribute
User principal name or Microsoft Entra ID to add
owner
class-attribute
instance-attribute
True, if the user should be a chat owner
visible_history_start_date_time
class-attribute
instance-attribute
visible_history_start_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'visibleHistoryStartDateTime'})
Timestamp that represents how far back in the chat history the new member can see. If not specified, no history is shared.
GetOnlineMeetingResponse
dataclass
GetOnlineMeetingResponse(id: Optional[str] = None, subject: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, creation_date_time: Optional[str] = None, join_web_url: Optional[str] = None, join_meeting_id_settings: Optional[Dict[str, Any]] = None, participants: Optional[Dict[str, Any]] = None, audio_conferencing: Optional[Dict[str, Any]] = None, is_entry_exit_announced: Optional[bool] = None, allowed_presenters: Optional[str] = None, lobby_bypass_settings: Optional[Dict[str, Any]] = None, record_automatically: Optional[bool] = None, allow_meeting_chat: Optional[str] = None, meeting_options_web_url: Optional[str] = None)
Response for Get an online meeting
Attributes
id
class-attribute
instance-attribute
The unique identifier of the online meeting
subject
class-attribute
instance-attribute
The subject of the online meeting
start_date_time
class-attribute
instance-attribute
The start time of the meeting in UTC
end_date_time
class-attribute
instance-attribute
The end time of the meeting in UTC
creation_date_time
class-attribute
instance-attribute
The creation time of the meeting in UTC
join_web_url
class-attribute
instance-attribute
The URL used to join the meeting online
join_meeting_id_settings
class-attribute
instance-attribute
join_meeting_id_settings: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'joinMeetingIdSettings'})
Settings related to the join meeting ID
participants
class-attribute
instance-attribute
The participants of the meeting
audio_conferencing
class-attribute
instance-attribute
audio_conferencing: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'audioConferencing'})
Phone call-in information for the meeting
is_entry_exit_announced
class-attribute
instance-attribute
is_entry_exit_announced: Optional[bool] = field(default=None, metadata={'wire_name': 'isEntryExitAnnounced'})
Whether announce notifications are enabled for callers joining or leaving the meeting
allowed_presenters
class-attribute
instance-attribute
allowed_presenters: Optional[str] = field(default=None, metadata={'wire_name': 'allowedPresenters'})
Specifies who can be a presenter in the meeting
lobby_bypass_settings
class-attribute
instance-attribute
lobby_bypass_settings: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'lobbyBypassSettings'})
Specifies which participants can bypass the meeting lobby
record_automatically
class-attribute
instance-attribute
record_automatically: Optional[bool] = field(default=None, metadata={'wire_name': 'recordAutomatically'})
Indicates whether to record the meeting automatically
allow_meeting_chat
class-attribute
instance-attribute
Specifies the mode of meeting chat
CallTranscriptCollectionResponse
dataclass
CallTranscriptResponse
dataclass
CallTranscriptResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, transcript_content_url: Optional[str] = None, meeting_id: Optional[str] = None, meeting_organizer_id: Optional[str] = None, call_id: Optional[str] = None)
Response for Get meeting transcript
Attributes
created_date_time
class-attribute
instance-attribute
The date and time when the transcript was created
transcript_content_url
class-attribute
instance-attribute
transcript_content_url: Optional[str] = field(default=None, metadata={'wire_name': 'transcriptContentUrl'})
The URL to access the transcript content
meeting_id
class-attribute
instance-attribute
The meeting ID
CallRecordingCollectionResponse
dataclass
CallRecordingResponse
dataclass
CallRecordingResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, recording_content_url: Optional[str] = None, meeting_id: Optional[str] = None, meeting_organizer_id: Optional[str] = None, call_id: Optional[str] = None)
Response for Get meeting recording
Attributes
created_date_time
class-attribute
instance-attribute
The date and time when the recording was created
recording_content_url
class-attribute
instance-attribute
recording_content_url: Optional[str] = field(default=None, metadata={'wire_name': 'recordingContentUrl'})
The URL to access the recording content
meeting_id
class-attribute
instance-attribute
The meeting ID
ListSectionsResponse
dataclass
ListSectionsResponse(context: Optional[str] = None, microsoft_graph_sections_version: Optional[str] = None, value: Optional[List[SectionResponse]] = None)
Response for List sections
Attributes
microsoft_graph_sections_version
class-attribute
instance-attribute
microsoft_graph_sections_version: Optional[str] = field(default=None, metadata={'wire_name': '@microsoft.graph.sectionsVersion'})
Version identifier for the sections hierarchy. Pass as If-Match on Create, Update, Delete, Add Item, Remove Item, and Move Item operations.
CreateSectionInput
dataclass
CreateSectionInput(display_name: Optional[str] = None, display_icon: Optional[Dict[str, Any]] = None, is_expanded: Optional[bool] = None, sort_type: Optional[str] = None)
Create a section
Attributes
display_name
class-attribute
instance-attribute
The display name of the section
display_icon
class-attribute
instance-attribute
The display icon for the section. Only iconType is writable; other fields are populated by the service.
is_expanded
class-attribute
instance-attribute
Whether the section is expanded
SectionResponse
dataclass
SectionResponse(etag: Optional[str] = None, id: Optional[str] = None, display_name: Optional[str] = None, display_icon: Optional[Dict[str, Any]] = None, is_expanded: Optional[bool] = None, sort_type: Optional[str] = None, section_type: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None)
Response for Create a section
Attributes
etag
class-attribute
instance-attribute
ETag for the sections collection. Pass as If-Match on Create, Update, and Delete.
display_name
class-attribute
instance-attribute
The display name of the section
display_icon
class-attribute
instance-attribute
The display icon for the section
is_expanded
class-attribute
instance-attribute
Whether the section is expanded
sort_type
class-attribute
instance-attribute
The sort type for the section
section_type
class-attribute
instance-attribute
The type of section
created_date_time
class-attribute
instance-attribute
The date and time when the section was created
UpdateSectionInput
dataclass
UpdateSectionInput(display_name: Optional[str] = None, display_icon: Optional[Dict[str, Any]] = None, is_expanded: Optional[bool] = None, sort_type: Optional[str] = None)
Update a section
Attributes
display_name
class-attribute
instance-attribute
The display name of the section
display_icon
class-attribute
instance-attribute
The display icon for the section. Only iconType is writable; other fields are populated by the service.
is_expanded
class-attribute
instance-attribute
Whether the section is expanded
ListSectionItemsResponse
dataclass
AddSectionItemInput
dataclass
SectionItemResponse
dataclass
SectionItemResponse(etag: Optional[str] = None, id: Optional[str] = None, item_type: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None)
Response for Add an item to a section
Attributes
etag
class-attribute
instance-attribute
ETag for the section items collection. Pass as If-Match on Add, Remove, and Move.
id
class-attribute
instance-attribute
The unique identifier of the item. Corresponds to the conversation ID of the underlying chat, channel, meeting, or community.
item_type
class-attribute
instance-attribute
The type of the item
created_date_time
class-attribute
instance-attribute
The date and time when the item was added to the section
MoveSectionItemInput
dataclass
GetTagsResponseSchema
dataclass
Response for List all tags for a team
CreateTagInput
dataclass
Create a tag for a team
Attributes
display_name
class-attribute
instance-attribute
The name of the tag as it appears to the user in Microsoft Teams.
CreateTagResponseSchema
dataclass
CreateTagResponseSchema(type_: Optional[str] = None, id: Optional[str] = None, team_id: Optional[str] = None, display_name: Optional[str] = None, member_count: Optional[int] = None)
Response for Create a tag for a team
Attributes
team_id
class-attribute
instance-attribute
ID of the team in which the tag is defined
display_name
class-attribute
instance-attribute
The name of the tag as it appears to the user in Microsoft Teams.
UpdateTagInput
dataclass
AddMemberToTagInput
dataclass
AddMemberToTagResponseSchema
dataclass
GetTagMembersResponseSchema
dataclass
Response for List the members of a team tag
AiInsightCollectionResponse
dataclass
AiInsightResponse
dataclass
AiInsightResponse(id: Optional[str] = None, call_id: Optional[str] = None, content_correlation_id: Optional[str] = None, created_date_time: Optional[str] = None, end_date_time: Optional[str] = None)
Response for Get AI insight
Attributes
call_id
class-attribute
instance-attribute
The call ID
content_correlation_id
class-attribute
instance-attribute
content_correlation_id: Optional[str] = field(default=None, metadata={'wire_name': 'contentCorrelationId'})
The content correlation ID
created_date_time
class-attribute
instance-attribute
The date and time when the AI insight was created
GetMessageLocationsResponse
dataclass
GetMessageDetailsSchema
dataclass
Response for Get message details response schema
ListMembersSchema
dataclass
Response for List members input schema
PostFeedSchema
dataclass
Response for Get feed notification input metadata
UnifiedActionSchema
dataclass
Response for Get unified action input metadata
ConnectorMetadata
dataclass
ConnectorMetadata(metadatatype: Optional[str] = None, activitytype: Optional[str] = None, schema: Optional[ObjectEntity] = None)
Response for Get message with options subscription input metadata
WebhookTriggerSchema
dataclass
Response for Input schema for webhook trigger
DynamicResponseSchema
dataclass
Response for Get response schema
ObjectEntity
dataclass
PostMessageSchema
dataclass
Definition: PostMessageSchema
PostCardSchema
dataclass
Definition: PostCardSchema
PostCardAndWaitSchema
dataclass
Definition: PostCardAndWaitSchema
DynamicGetMessageDetailsSchema
dataclass
DynamicListMembersSchema
dataclass
DynamicUserNotificationRequest
dataclass
DynamicPostConversationNotificationRequest
dataclass
DynamicChannelNotificationRequest
dataclass
DynamicPostFeedNotificationRequest
dataclass
DynamicPostMessageRequest
dataclass
DynamicReplyMessageRequest
dataclass
DynamicPostCardRequest
dataclass
DynamicPostCardAndWaitRequest
dataclass
DynamicReplyCardRequest
dataclass
DynamicUpdateCardRequest
dataclass
DynamicUserAdaptiveCardRequest
dataclass
DynamicChannelAdaptiveCardRequest
dataclass
DynamicUserMessageWithOptionsSubscriptionRequest
dataclass
DynamicUserMessageWithOptionsSubscriptionResult
dataclass
DynamicSelectedMessageTriggerResult
dataclass
DynamicComposeMessageTriggerResult
dataclass
DynamicCardResponseTriggerResult
dataclass
MessageReactionWebhookResponseSchema
dataclass
MessageReactionWebhookResponseSchema(thread_type: Optional[str] = None, chat_id: Optional[str] = None, team_id: Optional[str] = None, channel_id: Optional[str] = None, message_id: Optional[str] = None, reply_to_id: Optional[str] = None, message_link: Optional[str] = None, user_id: Optional[str] = None, message_reaction: Optional[str] = None)
Definition: MessageReactionWebhookResponseSchema
Attributes
chat_id
class-attribute
instance-attribute
The chat's unique identifier
team_id
class-attribute
instance-attribute
The team's unique identifier
channel_id
class-attribute
instance-attribute
The channel's unique identifier
message_id
class-attribute
instance-attribute
Id of the message which was reacted
reply_to_id
class-attribute
instance-attribute
ID of the parent message of the thread
message_link
class-attribute
instance-attribute
Link to the message which was reacted
user_id
class-attribute
instance-attribute
Reacting user's Id
TeamsIdentitySet
dataclass
TeamsIdentitySet(application: Optional[Dict[str, Any]] = None, device: Optional[Dict[str, Any]] = None, user: Optional[Dict[str, Any]] = None)
Definition: TeamsIdentitySet
Attributes
application
class-attribute
instance-attribute
Application identity (bot or service)
CallEventWebhookResponseSchema
dataclass
CallEventWebhookResponseSchema(id: Optional[str] = None, id_2: Optional[str] = None, type_: Optional[str] = None, call_event_type: Optional[str] = None, event_date_time: Optional[str] = None, call_conversation_id: Optional[str] = None, join_web_url: Optional[str] = None, chat_info: Optional[Dict[str, Any]] = None, organizer_meeting_info: Optional[Dict[str, Any]] = None, transcription_state: Optional[Dict[str, Any]] = None, recording_state: Optional[Dict[str, Any]] = None, participants: Optional[List[Dict[str, Any]]] = None)
Definition: CallEventWebhookResponseSchema
Attributes
id_2
class-attribute
instance-attribute
OData identifier
type_
class-attribute
instance-attribute
OData type discriminator (always #microsoft.graph.callEvent; meeting-specific fields are flattened onto the base type by notification delivery).
call_event_type
class-attribute
instance-attribute
Type of call event
event_date_time
class-attribute
instance-attribute
When the event occurred
call_conversation_id
class-attribute
instance-attribute
call_conversation_id: Optional[str] = field(default=None, metadata={'wire_name': 'callConversationId'})
Call conversation identifier
join_web_url
class-attribute
instance-attribute
Meeting join URL (populated when the call is associated with an online meeting)
chat_info
class-attribute
instance-attribute
Chat information for the meeting (populated when the call is associated with an online meeting)
organizer_meeting_info
class-attribute
instance-attribute
organizer_meeting_info: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'organizerMeetingInfo'})
Organizer info (populated when the call is associated with an online meeting)
transcription_state
class-attribute
instance-attribute
transcription_state: Optional[Dict[str, Any]] = field(default=None, metadata={'wire_name': 'transcriptionState'})
Transcription state (set on transcriptionStateUpdated events)
TranscriptWebhookResponseSchema
dataclass
TranscriptWebhookResponseSchema(id: Optional[str] = None, id_2: Optional[str] = None, meeting_id: Optional[str] = None, call_id: Optional[str] = None, content_correlation_id: Optional[str] = None, meeting_organizer: Optional[TeamsIdentitySet] = None, transcript_content_url: Optional[str] = None, created_date_time: Optional[str] = None, end_date_time: Optional[str] = None)
Definition: TranscriptWebhookResponseSchema
Attributes
id_2
class-attribute
instance-attribute
OData identifier
meeting_id
class-attribute
instance-attribute
Online meeting identifier (empty for ad-hoc call transcripts)
call_id
class-attribute
instance-attribute
Call identifier (set for ad-hoc call transcripts)
content_correlation_id
class-attribute
instance-attribute
content_correlation_id: Optional[str] = field(default=None, metadata={'wire_name': 'contentCorrelationId'})
Content correlation identifier
transcript_content_url
class-attribute
instance-attribute
transcript_content_url: Optional[str] = field(default=None, metadata={'wire_name': 'transcriptContentUrl'})
URL to download the transcript content
created_date_time
class-attribute
instance-attribute
When the transcript was created (UTC)
RecordingWebhookResponseSchema
dataclass
RecordingWebhookResponseSchema(id: Optional[str] = None, id_2: Optional[str] = None, meeting_id: Optional[str] = None, call_id: Optional[str] = None, content_correlation_id: Optional[str] = None, meeting_organizer: Optional[TeamsIdentitySet] = None, recording_content_url: Optional[str] = None, created_date_time: Optional[str] = None, end_date_time: Optional[str] = None)
Definition: RecordingWebhookResponseSchema
Attributes
id_2
class-attribute
instance-attribute
OData identifier
meeting_id
class-attribute
instance-attribute
Online meeting identifier (empty for ad-hoc call recordings)
call_id
class-attribute
instance-attribute
Call identifier (set for ad-hoc call recordings)
content_correlation_id
class-attribute
instance-attribute
content_correlation_id: Optional[str] = field(default=None, metadata={'wire_name': 'contentCorrelationId'})
Content correlation identifier
recording_content_url
class-attribute
instance-attribute
recording_content_url: Optional[str] = field(default=None, metadata={'wire_name': 'recordingContentUrl'})
URL to download the recording content
created_date_time
class-attribute
instance-attribute
When the recording was created (UTC)
ChatMessageWebhookResponseSchema
dataclass
DynamicWebhookTriggerRequestSchema
dataclass
DynamicKeywordWebhookTriggerResponseSchema
dataclass
DynamicAtMentionWebhookTriggerResponseSchema
dataclass
DynamicNewMessageWebhookTriggerResponseSchema
dataclass
DynamicPostToConversationResponse
dataclass
MessageId
dataclass
DynamicUserFlowContinuationSubscriptionResult
dataclass
DynamicChannelFlowContinuationSubscriptionResult
dataclass
DynamicGatherInputSubscriptionResult
dataclass
AssociatedTeamInfo
dataclass
AssociatedTeamInfo(id: Optional[str] = None, display_name: Optional[str] = None, tenant_id: Optional[str] = None)
Definition: AssociatedTeamInfo
Attributes
display_name
class-attribute
instance-attribute
The name of the team
ChannelWithOwnerTeamId
dataclass
ChannelWithOwnerTeamId(id: Optional[str] = None, display_name: Optional[str] = None, description: Optional[str] = None, email: Optional[str] = None, tenant_id: Optional[str] = None, web_url: Optional[str] = None, files_folder_web_url: Optional[str] = None, created_date_time: Optional[str] = None, membership_type: Optional[str] = None, owner_team_id: Optional[str] = None)
Definition: ChannelWithOwnerTeamId
Attributes
display_name
class-attribute
instance-attribute
The name of the channel
description
class-attribute
instance-attribute
The description of the channel, optional
email
class-attribute
instance-attribute
The email address for sending messages to the channel
tenant_id
class-attribute
instance-attribute
The ID of the Microsoft Entra tenant.
web_url
class-attribute
instance-attribute
A hyperlink for the channel in Microsoft Teams
files_folder_web_url
class-attribute
instance-attribute
files_folder_web_url: Optional[str] = field(default=None, metadata={'wire_name': 'filesFolderWebUrl'})
The SharePoint folder URL of the channel
created_date_time
class-attribute
instance-attribute
Timestamp at which the channel was created. Read only
membership_type
class-attribute
instance-attribute
The channel membership type
WebhookRequest
dataclass
GetTimeOffReasonsResponse
dataclass
TimeOffRequestResponse
dataclass
TimeOffRequestResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, assigned_to: Optional[str] = None, state: Optional[str] = None, sender_date_time: Optional[str] = None, sender_message: Optional[str] = None, sender_user_id: Optional[str] = None, manager_action_date_time: Optional[str] = None, manager_action_message: Optional[str] = None, manager_user_id: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, time_off_reason_id: Optional[str] = None)
Definition: TimeOffRequestResponse
Attributes
id
class-attribute
instance-attribute
The unique ID of the TimeOff request.
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
assigned_to
class-attribute
instance-attribute
The person the request is assigned to: 'manager' or 'recipient'
state
class-attribute
instance-attribute
'approved', 'pending' or 'declined'
sender_date_time
class-attribute
instance-attribute
Time when the request was sent
sender_message
class-attribute
instance-attribute
The message from the request sender
sender_user_id
class-attribute
instance-attribute
The ID of the user that sent the request
manager_action_date_time
class-attribute
instance-attribute
manager_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionDateTime'})
Time when the manager responded
manager_action_message
class-attribute
instance-attribute
manager_action_message: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionMessage'})
The message from the manager
manager_user_id
class-attribute
instance-attribute
The ID of the manager that responded
start_date_time
class-attribute
instance-attribute
Start of time requested off
end_date_time
class-attribute
instance-attribute
End of time requested off
OfferShiftRequestResponse
dataclass
OfferShiftRequestResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, assigned_to: Optional[str] = None, state: Optional[str] = None, sender_date_time: Optional[str] = None, sender_message: Optional[str] = None, sender_user_id: Optional[str] = None, sender_shift_id: Optional[str] = None, recipient_action_date_time: Optional[str] = None, recipient_action_message: Optional[str] = None, recipient_user_id: Optional[str] = None, manager_action_date_time: Optional[str] = None, manager_action_message: Optional[str] = None, manager_user_id: Optional[str] = None)
Definition: OfferShiftRequestResponse
Attributes
id
class-attribute
instance-attribute
The unique ID of the Offer Shift request.
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
assigned_to
class-attribute
instance-attribute
The person the request is assigned to: 'manager' or 'recipient'
state
class-attribute
instance-attribute
'approved', 'pending' or 'declined'
sender_date_time
class-attribute
instance-attribute
Time when the request was sent
sender_message
class-attribute
instance-attribute
The message from the request sender
sender_user_id
class-attribute
instance-attribute
The ID of the user that sent the request
sender_shift_id
class-attribute
instance-attribute
The ID of the shift from the sender
recipient_action_date_time
class-attribute
instance-attribute
recipient_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'recipientActionDateTime'})
Time when the recipient responded
recipient_action_message
class-attribute
instance-attribute
recipient_action_message: Optional[str] = field(default=None, metadata={'wire_name': 'recipientActionMessage'})
The message from the recipient
recipient_user_id
class-attribute
instance-attribute
The ID of the recipient of the request
manager_action_date_time
class-attribute
instance-attribute
manager_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionDateTime'})
Time when the manager responded
SwapShiftsChangeRequestResponse
dataclass
SwapShiftsChangeRequestResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, assigned_to: Optional[str] = None, state: Optional[str] = None, sender_date_time: Optional[str] = None, sender_message: Optional[str] = None, sender_user_id: Optional[str] = None, sender_shift_id: Optional[str] = None, recipient_action_date_time: Optional[str] = None, recipient_action_message: Optional[str] = None, recipient_user_id: Optional[str] = None, recipient_shift_id: Optional[str] = None, manager_action_date_time: Optional[str] = None, manager_action_message: Optional[str] = None, manager_user_id: Optional[str] = None)
Definition: SwapShiftsChangeRequestResponse
Attributes
id
class-attribute
instance-attribute
The unique ID of the Swap Shift request.
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
assigned_to
class-attribute
instance-attribute
The person the request is assigned to: 'manager' or 'recipient'
state
class-attribute
instance-attribute
'approved', 'pending' or 'declined'
sender_date_time
class-attribute
instance-attribute
Time when the request was sent
sender_message
class-attribute
instance-attribute
The message from the request sender
sender_user_id
class-attribute
instance-attribute
The ID of the user that sent the request
sender_shift_id
class-attribute
instance-attribute
The ID of the shift from the sender
recipient_action_date_time
class-attribute
instance-attribute
recipient_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'recipientActionDateTime'})
Time when the recipient responded
recipient_action_message
class-attribute
instance-attribute
recipient_action_message: Optional[str] = field(default=None, metadata={'wire_name': 'recipientActionMessage'})
The message from the recipient
recipient_user_id
class-attribute
instance-attribute
The ID of the recipient of the request
recipient_shift_id
class-attribute
instance-attribute
The ID of the shift from the recipient
manager_action_date_time
class-attribute
instance-attribute
manager_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionDateTime'})
Time when the manager responded
OpenShiftChangeRequestResponse
dataclass
OpenShiftChangeRequestResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, assigned_to: Optional[str] = None, state: Optional[str] = None, sender_date_time: Optional[str] = None, sender_message: Optional[str] = None, sender_user_id: Optional[str] = None, manager_action_date_time: Optional[str] = None, manager_action_message: Optional[str] = None, manager_user_id: Optional[str] = None, open_shift_id: Optional[str] = None)
Definition: OpenShiftChangeRequestResponse
Attributes
id
class-attribute
instance-attribute
The unique ID of the Open Shift Change request.
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
assigned_to
class-attribute
instance-attribute
The person the request is assigned to: 'manager' or 'recipient'
state
class-attribute
instance-attribute
'approved', 'pending' or 'declined'
sender_date_time
class-attribute
instance-attribute
Time when the request was sent
sender_message
class-attribute
instance-attribute
The message from the request sender
sender_user_id
class-attribute
instance-attribute
The ID of the user that sent the request
manager_action_date_time
class-attribute
instance-attribute
manager_action_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionDateTime'})
Time when the manager responded
manager_action_message
class-attribute
instance-attribute
manager_action_message: Optional[str] = field(default=None, metadata={'wire_name': 'managerActionMessage'})
The message from the manager
manager_user_id
class-attribute
instance-attribute
The ID of the manager that responded
EditOpenShiftRequest
dataclass
OpenShiftResponse
dataclass
OpenShiftResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, scheduling_group_id: Optional[str] = None, last_modified_by: Optional[LastModifiedBy] = None, shared_open_shift: Optional[SharedOpenShift] = None, draft_open_shift: Optional[DraftOpenShift] = None)
Definition: OpenShiftResponse
Attributes
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
SharedOpenShift
dataclass
SharedOpenShift(display_name: Optional[str] = None, notes: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, theme: Optional[str] = None, open_slot_count: Optional[int] = None, activities: Optional[Activities] = None)
Definition: SharedOpenShift
Attributes
display_name
class-attribute
instance-attribute
Display Name
start_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
end_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
DraftOpenShift
dataclass
DraftOpenShift(display_name: Optional[str] = None, notes: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, theme: Optional[str] = None, open_slot_count: Optional[int] = None, activities: Optional[Activities] = None)
Definition: DraftOpenShift
Attributes
display_name
class-attribute
instance-attribute
Display Name
start_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
end_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
ShiftResponse
dataclass
ShiftResponse(id: Optional[str] = None, created_date_time: Optional[str] = None, last_modified_date_time: Optional[str] = None, user_id: Optional[str] = None, scheduling_group_id: Optional[str] = None, last_modified_by: Optional[LastModifiedBy] = None, shared_shift: Optional[SharedShift] = None, draft_shift: Optional[DraftShift] = None)
Definition: ShiftResponse
Attributes
created_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
last_modified_date_time
class-attribute
instance-attribute
last_modified_date_time: Optional[str] = field(default=None, metadata={'wire_name': 'lastModifiedDateTime'})
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
user_id
class-attribute
instance-attribute
Assigned To User ID
SharedShift
dataclass
SharedShift(display_name: Optional[str] = None, notes: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, theme: Optional[str] = None, activities: Optional[Activities] = None)
Definition: SharedShift
Attributes
display_name
class-attribute
instance-attribute
Display Name
start_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
end_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
DraftShift
dataclass
DraftShift(display_name: Optional[str] = None, notes: Optional[str] = None, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, theme: Optional[str] = None, activities: Optional[Activities] = None)
Definition: DraftShift
Attributes
display_name
class-attribute
instance-attribute
Display Name
start_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
end_date_time
class-attribute
instance-attribute
yyyy-MM-ddTHH:mm:ss.fffZ (UTC format)
ScheduleResponse
dataclass
ScheduleResponse(id: Optional[str] = None, time_zone: Optional[str] = None, provision_status: Optional[str] = None, provision_status_code: Optional[str] = None)
Definition: ScheduleResponse
Attributes
time_zone
class-attribute
instance-attribute
The Time Zone of the schedule.
provision_status
class-attribute
instance-attribute
The Provision Status of the schedule.
PostMessageToSelfRequest
dataclass
Definition: PostMessageToSelfRequest
SchedulingGroupResponse
dataclass
SchedulingGroupResponse(id: Optional[str] = None, display_name: Optional[str] = None, is_active: Optional[bool] = None, user_ids: Optional[List[str]] = None)
Definition: SchedulingGroupResponse
Attributes
id
class-attribute
instance-attribute
The unique ID of the scheduling group.
display_name
class-attribute
instance-attribute
The display name for the scheduling group.
is_active
class-attribute
instance-attribute
Indicates whether the scheduling group can be used when creating new entities or updating existing ones.
BotMentionRequest
dataclass
BotMentionRequest(bot_id: Optional[str] = None, app_id: Optional[str] = None, name: Optional[str] = None)
Definition: BotMentionRequest
Attributes
bot_id
class-attribute
instance-attribute
The bot's unique identifier (GUID)
app_id
class-attribute
instance-attribute
The bot's app identifier (GUID)
AtMentionBotResponse
dataclass
NewChat
dataclass
NewMeeting
dataclass
NewMeeting(subject: Optional[str] = None, body: Optional[Dict[str, Any]] = None, time_zone: Optional[str] = None, start: Optional[Dict[str, Any]] = None, end: Optional[Dict[str, Any]] = None, required_attendees: Optional[str] = None, optional_attendees: Optional[str] = None, location: Optional[Dict[str, Any]] = None, importance: Optional[str] = None, recurrence: Optional[Dict[str, Any]] = None, is_all_day: Optional[bool] = None, reminder_minutes_before_start: Optional[int] = None, is_reminder_on: Optional[bool] = None, show_as: Optional[str] = None, response_requested: Optional[bool] = None, is_online_meeting: Optional[bool] = None, online_meeting_provider: Optional[str] = None)
Definition: NewMeeting
Attributes
subject
class-attribute
instance-attribute
The text of the event's subject line
body
class-attribute
instance-attribute
The body of the message associated with the event
time_zone
class-attribute
instance-attribute
Time zone of the event
required_attendees
class-attribute
instance-attribute
required_attendees: Optional[str] = field(default=None, metadata={'wire_name': 'requiredAttendees'})
Required attendees for the event separated by semicolons
optional_attendees
class-attribute
instance-attribute
optional_attendees: Optional[str] = field(default=None, metadata={'wire_name': 'optionalAttendees'})
Optional attendees for the event separated by semicolons
location
class-attribute
instance-attribute
The location of the event
importance
class-attribute
instance-attribute
The importance of the event: low, normal or high
recurrence
class-attribute
instance-attribute
The recurrence pattern for the meeting
is_all_day
class-attribute
instance-attribute
Set to true if the event lasts all day
reminder_minutes_before_start
class-attribute
instance-attribute
reminder_minutes_before_start: Optional[int] = field(default=None, metadata={'wire_name': 'reminderMinutesBeforeStart'})
The number of minutes before the event start time that the reminder alert occurs
is_reminder_on
class-attribute
instance-attribute
Set to true if an alert is set to remind the user of the event
show_as
class-attribute
instance-attribute
Status to show during the event
response_requested
class-attribute
instance-attribute
response_requested: Optional[bool] = field(default=None, metadata={'wire_name': 'responseRequested'})
Set to true if the sender would like a response when the event is accepted
is_online_meeting
class-attribute
instance-attribute
Set to true, if the meeting should have an online meeting provider
LastModifiedBy
dataclass
LastModifiedBy(application: Optional[str] = None, device: Optional[str] = None, conversation: Optional[str] = None, user: Optional[Dict[str, Any]] = None)
Definition: LastModifiedBy
Attributes
MemberSettings
dataclass
MemberSettings(allow_create_update_channels: Optional[bool] = None, allow_delete_channels: Optional[bool] = None, allow_add_remove_apps: Optional[bool] = None, allow_create_update_remove_tabs: Optional[bool] = None, allow_create_update_remove_connectors: Optional[bool] = None)
Definition: MemberSettings
Attributes
allow_create_update_channels
class-attribute
instance-attribute
allow_create_update_channels: Optional[bool] = field(default=None, metadata={'wire_name': 'allowCreateUpdateChannels'})
If set to true, members can add and update channels
allow_delete_channels
class-attribute
instance-attribute
allow_delete_channels: Optional[bool] = field(default=None, metadata={'wire_name': 'allowDeleteChannels'})
If set to true, members can delete channels
allow_add_remove_apps
class-attribute
instance-attribute
allow_add_remove_apps: Optional[bool] = field(default=None, metadata={'wire_name': 'allowAddRemoveApps'})
If set to true, members can add and remove apps
GuestSettings
dataclass
GuestSettings(allow_create_update_channels: Optional[bool] = None, allow_delete_channels: Optional[bool] = None)
MessagingSettings
dataclass
MessagingSettings(allow_user_edit_messages: Optional[bool] = None, allow_user_delete_messages: Optional[bool] = None, allow_owner_delete_messages: Optional[bool] = None, allow_team_mentions: Optional[bool] = None, allow_channel_mentions: Optional[bool] = None)
Definition: MessagingSettings
Attributes
allow_user_edit_messages
class-attribute
instance-attribute
allow_user_edit_messages: Optional[bool] = field(default=None, metadata={'wire_name': 'allowUserEditMessages'})
If set to true, users can edit their messages
allow_user_delete_messages
class-attribute
instance-attribute
allow_user_delete_messages: Optional[bool] = field(default=None, metadata={'wire_name': 'allowUserDeleteMessages'})
If set to true, users can delete their messages
allow_owner_delete_messages
class-attribute
instance-attribute
allow_owner_delete_messages: Optional[bool] = field(default=None, metadata={'wire_name': 'allowOwnerDeleteMessages'})
If set to true, owners can delete any message
FunSettings
dataclass
FunSettings(allow_giphy: Optional[bool] = None, giphy_content_rating: Optional[str] = None, allow_stickers_and_memes: Optional[bool] = None, allow_custom_memes: Optional[bool] = None)
Definition: FunSettings
Attributes
allow_giphy
class-attribute
instance-attribute
If set to true, enables Giphy use
giphy_content_rating
class-attribute
instance-attribute
giphy_content_rating: Optional[str] = field(default=None, metadata={'wire_name': 'giphyContentRating'})
Giphy content rating. Possible values are: moderate, strict
DiscoverySettings
dataclass
Definition: DiscoverySettings
Attributes
SelectedMessageTriggerMetadata
dataclass
SelectedMessageTriggerMetadata(teams_flow_run_context: Optional[ObjectEntity] = None, card_outputs: Optional[ObjectEntity] = None)
Definition: SelectedMessageTriggerMetadata
ComposeMessageTriggerMetadata
dataclass
ComposeMessageTriggerMetadata(teams_flow_run_context: Optional[ObjectEntity] = None, card_outputs: Optional[ObjectEntity] = None)
Definition: ComposeMessageTriggerMetadata
CardResponseTriggerMetadata
dataclass
CardResponseTriggerMetadata(teams_flow_run_context: Optional[ObjectEntity] = None, card_outputs: Optional[ObjectEntity] = None)
Definition: CardResponseTriggerMetadata
VirtualAgentBots
dataclass
SectionItemConflictError
dataclass
Definition: SectionItemConflictError
DynamicCallEventTriggerRequest
dataclass
DynamicTranscriptTriggerRequest
dataclass
DynamicRecordingTriggerRequest
dataclass
SingleTagTriggerRequest
dataclass
SingleTagTriggerRequest(notification_url: Optional[str] = None, group_id: Optional[str] = None, tag_id: Optional[str] = None)
Definition: SingleTagTriggerRequest
Attributes
notification_url
class-attribute
instance-attribute
Webhook callback URL
group_id
class-attribute
instance-attribute
The team that owns the tag to monitor
SingleTagMemberTriggerRequest
dataclass
SingleTagMemberTriggerRequest(notification_url: Optional[str] = None, group_id: Optional[str] = None, tag_id: Optional[str] = None)
Definition: SingleTagMemberTriggerRequest
Attributes
notification_url
class-attribute
instance-attribute
Webhook callback URL
group_id
class-attribute
instance-attribute
The team that owns the tag whose membership to monitor
TagWebhookResponseSchema
dataclass
TagWebhookResponseSchema(change_type: Optional[str] = None, id: Optional[str] = None, team_id: Optional[str] = None, tag_id: Optional[str] = None, display_name: Optional[str] = None, description: Optional[str] = None, member_count: Optional[int] = None, tag_type: Optional[str] = None, event_id: Optional[str] = None)
Definition: TagWebhookResponseSchema
Attributes
change_type
class-attribute
instance-attribute
The tag lifecycle change: 'created', 'updated', or 'deleted'.
team_id
class-attribute
instance-attribute
The team (group) ID that owns the tag.
tag_id
class-attribute
instance-attribute
The tag ID.
display_name
class-attribute
instance-attribute
Display name of the tag.
description
class-attribute
instance-attribute
Description of the tag.
member_count
class-attribute
instance-attribute
Number of members in the tag.
tag_type
class-attribute
instance-attribute
Tag type.
TagMemberWebhookResponseSchema
dataclass
TagMemberWebhookResponseSchema(change_type: Optional[str] = None, id: Optional[str] = None, team_id: Optional[str] = None, tag_id: Optional[str] = None, tenant_id: Optional[str] = None, user_id: Optional[str] = None, event_id: Optional[str] = None)
Definition: TagMemberWebhookResponseSchema
Attributes
change_type
class-attribute
instance-attribute
The membership change: 'created' (member added) or 'deleted' (member removed).
team_id
class-attribute
instance-attribute
The team (group) ID that owns the tag.
tag_id
class-attribute
instance-attribute
The tag ID whose membership changed.
tenant_id
class-attribute
instance-attribute
Tenant ID of the tag member.
user_id
class-attribute
instance-attribute
User ID of the tag member.
TeamsClient
TeamsClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for teams connector.
Initialize a TeamsClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
create_teams_meeting_async
async
Create a Teams meeting
Create a meeting with a link at the bottom of the invite to join the meeting online on Microsoft Teams.
get_all_teams_async
async
List joined teams
Lists all the teams in Microsoft Teams that you are a member of
get_all_associated_teams_async
async
List associated teams
Lists all the teams you are a direct member of, or are a member of a shared channel that is hosted inside the team.
get_channels_for_group_async
async
get_channels_for_group_async(group_id: str, filter: Optional[str] = None, orderby: Optional[str] = None) -> dict[str, Any] | None
List channels
Lists all the channels for a specific team
create_channel_async
async
Create a channel
Create a new channel within a specified team
get_channel_async
async
Get details for a specific channel in a team
Get the channel details
update_channel_properties_async
async
update_channel_properties_async(input: UpdateChannelPropertiesInput, group_id: str, channel_id: str) -> None
Update channel
Updates the properties of a channel in a specific team. Only the properties you provide are changed; omitted properties are left unchanged. For shared channels, the team ID must refer to the host team, which is the team that owns the shared channel.
archive_channel_async
async
archive_channel_async(input: ArchiveChannelInput, group_id: str, channel_id: str) -> dict[str, Any] | None
Archive a channel
Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. Archiving is an asynchronous operation.
get_all_channels_for_team_async
async
get_all_channels_for_team_async(group_id: str, filter: Optional[str] = None, orderby: Optional[str] = None) -> dict[str, Any] | None
List all channels
Lists all the channels for a specific team, including channels that are shared with the team
get_chats_async
async
List chats
Lists recent chats you are a part of
post_feed_notification_async
async
post_feed_notification_async(input: DynamicPostFeedNotificationRequest, poster: str, notification_type: str) -> None
Post a feed notification
Posts a notification to a user's activity feed linking to a chat or team.
at_mention_tag_async
async
Get an @mention token for a team tag
Creates a token that can be inserted into a message or adaptive card sent as a user in a channel to @mention a team tag.
get_messages_from_channel_async
async
Get messages in a channel
Gets messages from a channel in a specific team. For shared channels, the team ID must refer to the host team, which is the team that owns the shared channel.
get_message_details_async
async
get_message_details_async(input: DynamicGetMessageDetailsSchema, message_id: str, thread_type: str) -> dict[str, Any] | None
Get message details
Gets the details of a message in a chat or a channel.
list_replies_to_message_async
async
list_replies_to_message_async(group_id: str, channel_id: str, message_id: str, top: Optional[int] = None) -> dict[str, Any] | None
List replies of a channel message
List replies to a message in a channel in a specific team. For shared channels, the team ID must refer to the host team, which is the team that owns the shared channel.
list_members_async
async
list_members_async(input: DynamicListMembersSchema, thread_type: str, filter: Optional[str] = None) -> dict[str, Any] | None
List chat or channel members
List direct members of a group chat or a channel
subscribe_user_message_with_options_async
async
subscribe_user_message_with_options_async(input: DynamicUserMessageWithOptionsSubscriptionRequest) -> None
Post a choice of options as the Flow bot to a user
Send a set of options to a Microsoft Teams user, that they must respond to before the flow will continue. This action will pause the flow until the user response to the options
get_team_async
async
Get a team
Gets the details for a team in Microsoft Teams.
at_mention_user_async
async
Get an @mention token for a user
Creates a token that can be inserted into a message or adaptive card to @mention a user.
create_chat_async
async
Create a chat
Creates a one on one or group chat
get_messages_from_chat_async
async
get_messages_from_chat_async(chat_id: str, filter: Optional[str] = None, orderby: Optional[str] = None, top: Optional[str] = None) -> dict[str, Any] | None
Get messages in a chat
Retrieves messages from a one on one or group chat
post_message_to_self_async
async
Post a message to myself
Sends a message to the signed-in user's own Notes chat in Microsoft Teams.
create_a_team_async
async
Create a team
Creates a new team in Microsoft Teams
list_team_members_async
async
list_team_members_async(team_id: str, filter: Optional[str] = None, top: Optional[str] = None) -> dict[str, Any] | None
List team members
Lists the members of a team in Microsoft Teams
add_member_to_team_async
async
Add a member to a team
Adds a member to a team in Microsoft Teams
remove_member_from_team_async
async
Remove a member from a team
Removes a member from a team in Microsoft Teams
add_member_to_channel_async
async
Add a member to a channel
Adds a member to a channel in Microsoft Teams. The channel must be a private or shared channel.
remove_member_from_channel_async
async
Remove a direct member from a channel
Removes a direct member from a channel in Microsoft Teams. The channel must be a private or shared channel.
post_message_to_conversation_async
async
post_message_to_conversation_async(input: DynamicPostMessageRequest, poster: str, location: str) -> dict[str, Any] | None
Post message in a chat or channel
Posts a message to a chat or a channel
reply_with_message_to_conversation_async
async
reply_with_message_to_conversation_async(input: DynamicReplyMessageRequest, poster: str, location: str) -> dict[str, Any] | None
Reply with a message in a channel
Replies with a message to a channel's message
post_card_to_conversation_async
async
post_card_to_conversation_async(input: DynamicPostCardRequest, poster: str, location: str) -> dict[str, Any] | None
Post card in a chat or channel
Posts a card to a chat or a channel
post_card_and_wait_for_response_async
async
post_card_and_wait_for_response_async(input: PostCardAndWaitForResponseInput, poster: str, location: str) -> dict[str, Any] | None
Post adaptive card and wait for a response
Posts an adaptive card to a chat or a channel and waits for a response from any user. This will pause the flow until any user responds.
reply_with_card_to_conversation_async
async
reply_with_card_to_conversation_async(input: DynamicReplyCardRequest, poster: str, location: str) -> dict[str, Any] | None
Reply with an adaptive card in a channel
Replies with an adaptive card to a channel's message
update_card_in_conversation_async
async
update_card_in_conversation_async(input: DynamicUpdateCardRequest, poster: str, location: str) -> dict[str, Any] | None
Update an adaptive card in a chat or channel
Updates an existing adaptive card
http_request_async
async
Send a Microsoft Graph HTTP request
Construct a Microsoft Graph REST API request to invoke against the Microsoft Teams endpoints. These segments are supported: 1st segment: /teams, /me, /users 2nd segment: channels, chats, installedApps, messages, pinnedMessages, onlineMeetings. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api
add_member_to_chat_async
async
Add a user to a chat
Adds a user to a chat in Microsoft Teams.
remove_member_from_chat_async
async
Remove a member from a chat
Removes a member from a chat in Microsoft Teams. Only group chats support member removal.
get_online_meeting_async
async
Get an online meeting
Retrieves the properties and relationships of an online meeting. You can look up a meeting by meeting ID, join web URL, or join meeting ID.
list_meeting_transcripts_async
async
List meeting transcripts
Lists all transcripts for an online meeting
get_meeting_transcript_async
async
Get meeting transcript
Gets a specific transcript for an online meeting
get_meeting_transcript_content_async
async
Get meeting transcript content
Gets the content of a meeting transcript
list_meeting_recordings_async
async
List meeting recordings
Lists all recordings for an online meeting
get_meeting_recording_async
async
Get meeting recording
Gets a specific recording for an online meeting
get_meeting_recording_content_async
async
Get meeting recording content
Gets the content stream of a meeting recording
list_sections_async
async
List sections
Lists the current user's teamwork sections
create_section_async
async
Create a section
Creates a new teamwork section for the current user
get_section_async
async
Get a section
Gets a specific teamwork section by ID
update_section_async
async
Update a section
Updates a teamwork section for the current user
delete_section_async
async
Delete a section
Deletes a teamwork section for the current user
list_section_items_async
async
List section items
Lists the items (chats, channels, meetings, communities) in a teamwork section. Each item belongs to exactly one section at a time.
add_section_item_async
async
Add an item to a section
Adds an item (chat, channel, meeting, or community) currently in a system-defined section to a user-defined teamwork section. Use Move Section Item to relocate items already in another user-defined section.
remove_section_item_async
async
Remove an item from a section
Removes an item from a user-defined teamwork section. The underlying chat, channel, meeting, or community is not deleted; the item returns to its default system-defined section.
move_section_item_async
async
move_section_item_async(input: MoveSectionItemInput, section_id: str, section_item_id: str) -> dict[str, Any] | None
Move a section item
Atomically moves an item from one user-defined teamwork section to another user-defined section. Each item can belong to only one section at a time. This action removes the item from its current section and adds it to the target section.
get_tags_async
async
List all tags for a team
Lists the team's tags
create_tag_async
async
Create a tag for a team
Creates a tag in a team
get_tag_async
async
Get a team tag
Gets a specific tag by ID from a team
update_tag_async
async
Update a team tag
Updates the display name of a tag in a team
delete_tag_async
async
Delete a team tag
Deletes a tag from a team
add_member_to_tag_async
async
add_member_to_tag_async(input: AddMemberToTagInput, group_id: str, tag_id: str) -> dict[str, Any] | None
Add a member to a team tag
Adds a user to a team tag
get_tag_members_async
async
List the members of a team tag
Lists the members of a team tag
delete_tag_member_async
async
Delete a member from a team tag
Deletes a member from a team tag
list_call_recordings_async
async
List call recordings
Lists all recordings for an ad-hoc call
get_call_recording_async
async
Get call recording
Gets a specific recording for an ad-hoc call
get_call_recording_content_async
async
Get call recording content
Gets the content of a call recording
list_call_transcripts_async
async
List call transcripts
Lists all transcripts for an ad-hoc call
get_call_transcript_async
async
Get call transcript
Gets a specific transcript for an ad-hoc call
get_call_transcript_content_async
async
Get call transcript content
Gets the content of a call transcript
get_all_adhoc_call_recordings_async
async
get_all_adhoc_call_recordings_async(start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, top: Optional[int] = None, skiptoken: Optional[str] = None, deltatoken: Optional[str] = None) -> dict[str, Any] | None
Get all ad-hoc call recordings
Gets all recordings from ad-hoc calls for the signed-in user
get_all_adhoc_call_transcripts_async
async
get_all_adhoc_call_transcripts_async(start_date_time: Optional[str] = None, end_date_time: Optional[str] = None, top: Optional[int] = None, skiptoken: Optional[str] = None, deltatoken: Optional[str] = None) -> dict[str, Any] | None
Get all ad-hoc call transcripts
Gets all transcripts from ad-hoc calls for the signed-in user
list_ai_insights_async
async
List AI insights
Lists AI-generated insights for an online meeting. Requires Microsoft 365 Copilot license.
get_ai_insight_async
async
Get AI insight
Gets a specific AI-generated insight for an online meeting. Requires Microsoft 365 Copilot license.
get_message_locations_async
async
Conversation location for where to post
Returns a list of locations to post a message or reply based on who the user is posting as
get_message_details_input_schema_async
async
Get message details response schema
Get the schema information for get message details response
get_message_details_response_schema_async
async
Get message details input metadata
Get the schema information for message inputs
list_members_input_schema_async
async
List members input schema
Get the schema information for list members input based on thread type
get_feed_notification_input_schema_async
async
get_feed_notification_input_schema_async(poster: str, notification_type: str) -> dict[str, Any] | None
Get feed notification input metadata
Get the schema information for feed notification
get_unified_action_schema_async
async
get_unified_action_schema_async(action_type: str, poster: str, recipient_type: str) -> dict[str, Any] | None
Get unified action input metadata
Get the schema information for unified actions
get_message_with_options_subscription_input_metadata_async
async
get_message_with_options_subscription_input_metadata_async(recipient_type: str) -> dict[str, Any] | None
Get message with options subscription input metadata
Get the schema information for the message with options subscription inputs
get_message_with_options_subscription_output_metadata_async
async
get_message_with_options_subscription_output_metadata_async(recipient_type: str) -> dict[str, Any] | None
Get message with options subscription output metadata
Get the schema information for the message with options subscription outputs
get_webhook_trigger_request_schema_async
async
Input schema for webhook trigger
Gets the input schema for webhook trigger
get_webhook_trigger_response_schema_async
async
get_webhook_trigger_response_schema_async(trigger_type: str, thread_type: str) -> dict[str, Any] | None
Response schema for webhook trigger
Gets the response schema for webhook trigger
get_post_to_conversation_response_schema_async
async
get_post_to_conversation_response_schema_async(action_type: str, poster: str, recipient_type: str) -> dict[str, Any] | None
Get response schema
Get the schema information for unified action responses
get_flow_continuation_subscription_with_poster_output_metadata_async
async
get_flow_continuation_subscription_with_poster_output_metadata_async(input: GetFlowContinuationSubscriptionWithPosterOutputMetadataInput, poster: str, recipient_type: str) -> dict[str, Any] | None
Get flow continuation subscription output metadata
Get the schema information for the flow continuation subscription outputs