| title | membersAddedEventMessageDetail resource type |
|---|---|
| description | Represents the details of an event message about members added. |
| author | RamjotSingh |
| ms.localizationpriority | medium |
| ms.subservice | teams |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents the details of an event message about members added.
This message is generated when members are added to a chat, a channel, or a team.
The visibleHistoryStartDateTime property for a members added event in a channel is always set to 0001-01-01T00:00:00Z, which indicates that all history is shared.
Note: For a chat, when the selected share history time for members is earlier than the initator's visible history time, the visibleHistoryStartDateTime property for conversationMember and the membersAddedEventMessageDetail message might have different values. conversationMember has the effective visible history time for the member based on initiator's visible history time.
Inherits from eventMessageDetail.
| Property | Type | Description |
|---|---|---|
| initiator | identitySet | Initiator of the event. |
| members | teamworkUserIdentity collection | List of members added. |
| visibleHistoryStartDateTime | DateTimeOffset | The timestamp denoting how far back a conversation's history is shared with the conversation members. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.membersAddedEventMessageDetail",
"members": [
{
"@odata.type": "microsoft.graph.teamworkUserIdentity"
}
],
"initiator": {
"@odata.type": "microsoft.graph.identitySet"
},
"visibleHistoryStartDateTime": "String (timestamp)"
}- Example response for an event message about members added
- For more information about other types of events, see System messages.