Interface IChatMessageCollection
Inherited Members
Namespace: PnP.Core.Model.Me
Assembly: PnP.Core.dll
Syntax
public interface IChatMessageCollection : IDataModelCollectionLoad<IChatMessage>, IDataModelCollection<IChatMessage>, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<IChatMessageCollection>
Methods
Add(ChatMessageOptions)
Adds a new channel chat
Declaration
IChatMessage Add(ChatMessageOptions options)
Parameters
ChatMessageOptions
options
Full chat message options |
Returns
IChatMessage
|
Add(String, ChatMessageContentType, String)
Adds a new channel chat
Declaration
IChatMessage 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
IChatMessage
|
AddAsync(ChatMessageOptions)
Adds a new channel chat message
Declaration
Task<IChatMessage> AddAsync(ChatMessageOptions options)
Parameters
ChatMessageOptions
options
Full chat message options |
Returns
Task<IChatMessage>
|
AddAsync(String, ChatMessageContentType, String)
Adds a new channel chat message
Declaration
Task<IChatMessage> 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<IChatMessage>
|
AddBatch(ChatMessageOptions)
Adds a new channel chat message
Declaration
IChatMessage AddBatch(ChatMessageOptions options)
Parameters
ChatMessageOptions
options
Full chat message options |
Returns
IChatMessage
Newly added channel chat message |
AddBatch(Batch, ChatMessageOptions)
Adds a new channel chat message
Declaration
IChatMessage AddBatch(Batch batch, ChatMessageOptions options)
Parameters
Batch
batch
Batch the message is associated with |
ChatMessageOptions
options
Full chat message options |
Returns
IChatMessage
Newly added channel chat message |
AddBatch(Batch, String, ChatMessageContentType, String)
Adds a new channel chat message
Declaration
IChatMessage 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
IChatMessage
Newly added channel chat message |
AddBatch(String, ChatMessageContentType, String)
Adds a new channel chat message
Declaration
IChatMessage 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
IChatMessage
Newly added channel chat message |
AddBatchAsync(ChatMessageOptions)
Adds a new channel chat message
Declaration
Task<IChatMessage> AddBatchAsync(ChatMessageOptions options)
Parameters
ChatMessageOptions
options
Full chat message options |
Returns
Task<IChatMessage>
Newly added channel chat message |
AddBatchAsync(Batch, ChatMessageOptions)
Adds a new channel chat message
Declaration
Task<IChatMessage> AddBatchAsync(Batch batch, ChatMessageOptions options)
Parameters
Batch
batch
Batch the message is associated with |
ChatMessageOptions
options
Full chat message options |
Returns
Task<IChatMessage>
Newly added channel chat message |
AddBatchAsync(Batch, String, ChatMessageContentType, String)
Adds a new channel chat message
Declaration
Task<IChatMessage> 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<IChatMessage>
Newly added channel chat message |
AddBatchAsync(String, ChatMessageContentType, String)
Adds a new channel chat message
Declaration
Task<IChatMessage> 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<IChatMessage>
Newly added channel chat message |