Search Results for

    Show / Hide Table of Contents

    Interface ITeamChatMessageCollection

    A chat is a collection of chatMessages between one or more participants. Participants can be users or apps.

    Inherited Members
    IDataModelCollectionLoad<ITeamChatMessage>.LoadAsync(Expression<Func<ITeamChatMessage, Object>>[])
    IDataModelCollectionLoad<ITeamChatMessage>.LoadBatchAsync(Batch, Expression<Func<ITeamChatMessage, Object>>[])
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    Namespace: PnP.Core.Model.Teams
    Assembly: PnP.Core.dll
    Syntax
    public interface ITeamChatMessageCollection : IDataModelCollectionLoad<ITeamChatMessage>, IDataModelCollection<ITeamChatMessage>, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<ITeamChatMessageCollection>

    Methods

    Add(ChatMessageOptions)

    Adds a new channel chat

    Declaration
    ITeamChatMessage Add(ChatMessageOptions options)
    Parameters
    ChatMessageOptions options

    Full chat message options

    Returns
    ITeamChatMessage

    Add(String, ChatMessageContentType, String)

    Adds a new channel chat

    Declaration
    ITeamChatMessage Add(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    ITeamChatMessage

    AddAsync(ChatMessageOptions)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddAsync(ChatMessageOptions options)
    Parameters
    ChatMessageOptions options

    Full chat message options

    Returns
    Task<ITeamChatMessage>

    AddAsync(String, ChatMessageContentType, String)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddAsync(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    Task<ITeamChatMessage>

    AddBatch(ChatMessageOptions)

    Adds a new channel chat message

    Declaration
    ITeamChatMessage AddBatch(ChatMessageOptions options)
    Parameters
    ChatMessageOptions options

    Full chat message options

    Returns
    ITeamChatMessage

    Newly added channel chat message

    AddBatch(Batch, ChatMessageOptions)

    Adds a new channel chat message

    Declaration
    ITeamChatMessage AddBatch(Batch batch, ChatMessageOptions options)
    Parameters
    Batch batch

    Batch the message is associated with

    ChatMessageOptions options

    Full chat message options

    Returns
    ITeamChatMessage

    Newly added channel chat message

    AddBatch(Batch, String, ChatMessageContentType, String)

    Adds a new channel chat message

    Declaration
    ITeamChatMessage AddBatch(Batch batch, string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    Batch batch

    Batch the message is associated with

    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    ITeamChatMessage

    Newly added channel chat message

    AddBatch(String, ChatMessageContentType, String)

    Adds a new channel chat message

    Declaration
    ITeamChatMessage AddBatch(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    ITeamChatMessage

    Newly added channel chat message

    AddBatchAsync(ChatMessageOptions)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddBatchAsync(ChatMessageOptions options)
    Parameters
    ChatMessageOptions options

    Full chat message options

    Returns
    Task<ITeamChatMessage>

    Newly added channel chat message

    AddBatchAsync(Batch, ChatMessageOptions)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddBatchAsync(Batch batch, ChatMessageOptions options)
    Parameters
    Batch batch

    Batch the message is associated with

    ChatMessageOptions options

    Full chat message options

    Returns
    Task<ITeamChatMessage>

    Newly added channel chat message

    AddBatchAsync(Batch, String, ChatMessageContentType, String)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddBatchAsync(Batch batch, string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    Batch batch

    Batch the message is associated with

    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    Task<ITeamChatMessage>

    Newly added channel chat message

    AddBatchAsync(String, ChatMessageContentType, String)

    Adds a new channel chat message

    Declaration
    Task<ITeamChatMessage> AddBatchAsync(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
    Parameters
    System.String content

    Content of the message

    ChatMessageContentType contentType

    Message content type e.g. Text, Html

    System.String subject

    Message Subject

    Returns
    Task<ITeamChatMessage>

    Newly added channel chat message

    Extension Methods

    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.Load<TModel>(IDataModelCollectionLoad<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>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer