|
| 1 | +// ------------------------------------------------------------------------------ |
| 2 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 3 | +// ------------------------------------------------------------------------------ |
| 4 | + |
| 5 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 6 | +// <auto-generated/> |
| 7 | + |
| 8 | +// Template Source: EntityType.cs.tt |
| 9 | + |
| 10 | +namespace Microsoft.Graph |
| 11 | +{ |
| 12 | + using System; |
| 13 | + using System.Collections.Generic; |
| 14 | + using System.IO; |
| 15 | + using System.Text.Json.Serialization; |
| 16 | + |
| 17 | + /// <summary> |
| 18 | + /// The type Chat Message Info. |
| 19 | + /// </summary> |
| 20 | + [JsonConverter(typeof(DerivedTypeConverter<ChatMessageInfo>))] |
| 21 | + public partial class ChatMessageInfo : Entity |
| 22 | + { |
| 23 | + |
| 24 | + /// <summary> |
| 25 | + /// Gets or sets body. |
| 26 | + /// Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. |
| 27 | + /// </summary> |
| 28 | + [JsonPropertyName("body")] |
| 29 | + public ItemBody Body { get; set; } |
| 30 | + |
| 31 | + /// <summary> |
| 32 | + /// Gets or sets created date time. |
| 33 | + /// Date time object representing the time at which message was created. |
| 34 | + /// </summary> |
| 35 | + [JsonPropertyName("createdDateTime")] |
| 36 | + public DateTimeOffset? CreatedDateTime { get; set; } |
| 37 | + |
| 38 | + /// <summary> |
| 39 | + /// Gets or sets event detail. |
| 40 | + /// Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. |
| 41 | + /// </summary> |
| 42 | + [JsonPropertyName("eventDetail")] |
| 43 | + public EventMessageDetail EventDetail { get; set; } |
| 44 | + |
| 45 | + /// <summary> |
| 46 | + /// Gets or sets from. |
| 47 | + /// Information about the sender of the message. |
| 48 | + /// </summary> |
| 49 | + [JsonPropertyName("from")] |
| 50 | + public ChatMessageFromIdentitySet From { get; set; } |
| 51 | + |
| 52 | + /// <summary> |
| 53 | + /// Gets or sets is deleted. |
| 54 | + /// If set to true, the original message has been deleted. |
| 55 | + /// </summary> |
| 56 | + [JsonPropertyName("isDeleted")] |
| 57 | + public bool? IsDeleted { get; set; } |
| 58 | + |
| 59 | + /// <summary> |
| 60 | + /// Gets or sets message type. |
| 61 | + /// The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage. |
| 62 | + /// </summary> |
| 63 | + [JsonPropertyName("messageType")] |
| 64 | + public ChatMessageType? MessageType { get; set; } |
| 65 | + |
| 66 | + } |
| 67 | +} |
| 68 | + |
0 commit comments