conversationMember resource type

Namespace: microsoft.graph

Represents a user in a team, a channel, or a chat. See also aadUserConversationMember.

Methods

Method Return Type Description
List team members conversationMember collection Get the list of members in the team.
Add team member conversationMember Add a new member to the team.
Get team member conversationMember collection Get a member in the team.
Update team member's role conversationMember Change a member to an owner or back to a regular member.
Remove team member None Remove an existing member from the team.
List channel members conversationMember collection Get the list of all members in a channel.
Add channel member conversationMember Add a member to a channel. Only supported for channel with membershipType of private.
Get channel member conversationMember collection Get a member in a channel.
Update channel member's role conversationMember Update the properties of a member of the channel. Only supported for channel with membershipType of private.
Remove channel member None Delete a member from a channel. Only supported for channelType of private.
List chat members conversationMember collection Get the list of all members in a chat.
Add chat member Location header Add a member to a chat.
Get chat member conversationMember Get a member in a chat.
Remove chat member None Remove a member from a chat.

Properties

Property Type Description
id String Read-only. Unique ID of the user.
displayName string The display name of the user.
roles string collection The roles for that user.
visibleHistoryStartDateTime DateTimeOffset The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.conversationMember",
  "id": "String (identifier)",
  "roles": [
    "String"
  ],
  "displayName": "String",
  "visibleHistoryStartDateTime": "String (timestamp)"
}