Class Message
The type Message.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class Message : Entity
Properties
View SourceAttachments
Gets or sets attachments.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "attachments", Required = Required.Default)]
public IEnumerable<ChatAttachment> Attachments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ChatAttachment> |
Content
Gets or sets content.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "content", Required = Required.Default)]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
Gets or sets content type.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "contentType", Required = Required.Default)]
public MessageContentType? ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MessageContentType> |
Created
Gets or sets created.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "created", Required = Required.Default)]
public DateTimeOffset? Created { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
Culture
Gets or sets culture.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "culture", Required = Required.Default)]
public Culture? Culture { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Culture> |
Deleted
Gets or sets deleted.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deleted", Required = Required.Default)]
public bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
From
Gets or sets from.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "from", Required = Required.Default)]
public IdentitySet From { get; set; }
Property Value
Type | Description |
---|---|
IdentitySet |
Important
Gets or sets important.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "important", Required = Required.Default)]
public bool? Important { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Likes
Gets or sets likes.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "likes", Required = Required.Default)]
public IEnumerable<IdentitySet> Likes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IdentitySet> |
Mentions
Gets or sets mentions.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mentions", Required = Required.Default)]
public IMessageMentionsCollectionPage Mentions { get; set; }
Property Value
Type | Description |
---|---|
IMessageMentionsCollectionPage |
Modified
Gets or sets modified.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "modified", Required = Required.Default)]
public DateTimeOffset? Modified { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |