Microsoft Graph · Schema

chatMessageMention

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
id number Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding tag in the message body.
mentioned object The entity (user, application, team, channel, or chat) that was @mentioned.
mentionText string String used to represent the mention. For example, a user's display name, a team name.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphchatmessagemention-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.chatMessageMention",
  "title": "chatMessageMention",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "id": {
      "maximum": 2147483647,
      "minimum": -2147483648,
      "type": "number",
      "description": "Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding <at id='{index}'> tag in the message body.",
      "format": "int32",
      "nullable": true
    },
    "mentioned": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.chatMessageMentionedIdentitySet"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The entity (user, application, team, channel, or chat) that was @mentioned."
    },
    "mentionText": {
      "type": "string",
      "description": "String used to represent the mention. For example, a user's display name, a team name.",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  }
}