Search Results for

    Show / Hide Table of Contents

    Interface IChatMessage

    Represents an individual chat message within a channel or chat. The chat message can be a root chat message or part of a reply thread that is defined by the replyToId property in the chat message.

    Inherited Members
    IDataModel<IChatMessage>.Requested
    IDataModel<IChatMessage>.HasValue(String)
    IDataModel<IChatMessage>.HasChanged(String)
    IDataModel<IChatMessage>.IsPropertyAvailable(Expression<Func<IChatMessage, Object>>)
    IDataModel<IChatMessage>.ArePropertiesAvailable(Expression<Func<IChatMessage, Object>>[])
    IDataModel<IChatMessage>.EnsureProperties(Expression<Func<IChatMessage, Object>>[])
    IDataModel<IChatMessage>.EnsurePropertiesAsync(Expression<Func<IChatMessage, Object>>[])
    IDataModel<IChatMessage>.ExecuteRequestAsync(ApiRequest)
    IDataModel<IChatMessage>.ExecuteRequest(ApiRequest)
    IDataModel<IChatMessage>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<IChatMessage>.ExecuteRequestBatch(ApiRequest)
    IDataModel<IChatMessage>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<IChatMessage>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IDataModelGet<IChatMessage>.GetBatchAsync(Batch, Expression<Func<IChatMessage, Object>>[])
    IDataModelGet<IChatMessage>.GetAsync(Expression<Func<IChatMessage, Object>>[])
    IDataModelLoad<IChatMessage>.LoadBatchAsync(Batch, Expression<Func<IChatMessage, Object>>[])
    IDataModelLoad<IChatMessage>.LoadAsync(Expression<Func<IChatMessage, Object>>[])
    Namespace: PnP.Core.Model.Me
    Assembly: PnP.Core.dll
    Syntax
    public interface IChatMessage : IDataModel<IChatMessage>, IDataModelParent, IDataModelWithContext, ISupportModules<IChatMessage>, IDataModelGet<IChatMessage>, IDataModelLoad<IChatMessage>, IQueryableDataModel

    Properties

    Attachments

    Attached files

    Declaration
    IChatMessageAttachmentCollection Attachments { get; }
    Property Value
    IChatMessageAttachmentCollection

    Body

    Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention.

    Declaration
    IChatMessageContent Body { get; }
    Property Value
    IChatMessageContent

    CreatedDateTime

    Read only. Timestamp of when the chat message was created.

    Declaration
    DateTimeOffset CreatedDateTime { get; }
    Property Value
    DateTimeOffset

    DeletedDateTime

    Read only. Timestamp at which the chat message was deleted, or null if not deleted.

    Declaration
    DateTimeOffset DeletedDateTime { get; }
    Property Value
    DateTimeOffset

    Etag

    Read-only. Version number of the chat message.

    Declaration
    string Etag { get; }
    Property Value
    System.String

    From

    Read only. Details of the sender of the chat message.

    Declaration
    IChatIdentitySet From { get; }
    Property Value
    IChatIdentitySet

    HostedContents

    Hosted Content tiles

    Declaration
    IChatMessageHostedContentCollection HostedContents { get; }
    Property Value
    IChatMessageHostedContentCollection

    Id

    Read-only. Unique Id of the message.

    Declaration
    string Id { get; }
    Property Value
    System.String

    Importance

    The importance of the chat message.

    Declaration
    ChatMessageImportance Importance { get; set; }
    Property Value
    ChatMessageImportance

    LastModifiedDateTime

    Read only. Timestamp of when the chat message is created or edited, including when a reply is made (if it's a root chat message in a channel) or a reaction is added or removed.

    Declaration
    DateTimeOffset LastModifiedDateTime { get; }
    Property Value
    DateTimeOffset

    Locale

    Locale of the team chat message

    Declaration
    string Locale { get; set; }
    Property Value
    System.String

    Mentions

    List of entities mentioned in the chat message. Currently supports user, bot, team, channel.

    Declaration
    IChatMessageMentionCollection Mentions { get; }
    Property Value
    IChatMessageMentionCollection

    MessageType

    The type of chat message. The possible values are: message.

    Declaration
    ChatMessageType MessageType { get; set; }
    Property Value
    ChatMessageType

    Reactions

    Reactions for this chat message (for example, Like).

    Declaration
    IChatMessageReactionCollection Reactions { get; }
    Property Value
    IChatMessageReactionCollection

    ReplyToId

    Read-only. Id of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels not chats)

    Declaration
    string ReplyToId { get; }
    Property Value
    System.String

    Subject

    The subject of the chat message, in plaintext.

    Declaration
    string Subject { get; set; }
    Property Value
    System.String

    Summary

    Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat.

    Declaration
    string Summary { get; set; }
    Property Value
    System.String

    Extension Methods

    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.Get<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.Load<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.QueryProperties<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer