Interface ITeamChatMessageCollection
A chat is a collection of chatMessages between one or more participants. Participants can be users or apps.
public interface ITeamChatMessageCollection : IQueryable<ITeamChatMessage>, IQueryable, IAsyncEnumerable<ITeamChatMessage>, IDataModelCollectionLoad<ITeamChatMessage>, IDataModelCollection<ITeamChatMessage>, IEnumerable<ITeamChatMessage>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<ITeamChatMessageCollection>
- Inherited Members
- Extension Methods
Methods
Add(ChatMessageOptions)
Adds a new channel chat
ITeamChatMessage Add(ChatMessageOptions options)
Parameters
optionsChatMessageOptionsFull chat message options
Returns
Add(string, ChatMessageContentType, string)
Adds a new channel chat
ITeamChatMessage Add(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
AddAsync(ChatMessageOptions)
Adds a new channel chat message
Task<ITeamChatMessage> AddAsync(ChatMessageOptions options)
Parameters
optionsChatMessageOptionsFull chat message options
Returns
AddAsync(string, ChatMessageContentType, string)
Adds a new channel chat message
Task<ITeamChatMessage> AddAsync(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
AddBatch(ChatMessageOptions)
Adds a new channel chat message
ITeamChatMessage AddBatch(ChatMessageOptions options)
Parameters
optionsChatMessageOptionsFull chat message options
Returns
- ITeamChatMessage
Newly added channel chat message
AddBatch(Batch, ChatMessageOptions)
Adds a new channel chat message
ITeamChatMessage AddBatch(Batch batch, ChatMessageOptions options)
Parameters
batchBatchBatch the message is associated with
optionsChatMessageOptionsFull chat message options
Returns
- ITeamChatMessage
Newly added channel chat message
AddBatch(Batch, string, ChatMessageContentType, string)
Adds a new channel chat message
ITeamChatMessage AddBatch(Batch batch, string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
batchBatchBatch the message is associated with
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
- ITeamChatMessage
Newly added channel chat message
AddBatch(string, ChatMessageContentType, string)
Adds a new channel chat message
ITeamChatMessage AddBatch(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
- ITeamChatMessage
Newly added channel chat message
AddBatchAsync(ChatMessageOptions)
Adds a new channel chat message
Task<ITeamChatMessage> AddBatchAsync(ChatMessageOptions options)
Parameters
optionsChatMessageOptionsFull chat message options
Returns
- Task<ITeamChatMessage>
Newly added channel chat message
AddBatchAsync(Batch, ChatMessageOptions)
Adds a new channel chat message
Task<ITeamChatMessage> AddBatchAsync(Batch batch, ChatMessageOptions options)
Parameters
batchBatchBatch the message is associated with
optionsChatMessageOptionsFull chat message options
Returns
- Task<ITeamChatMessage>
Newly added channel chat message
AddBatchAsync(Batch, string, ChatMessageContentType, string)
Adds a new channel chat message
Task<ITeamChatMessage> AddBatchAsync(Batch batch, string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
batchBatchBatch the message is associated with
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
- Task<ITeamChatMessage>
Newly added channel chat message
AddBatchAsync(string, ChatMessageContentType, string)
Adds a new channel chat message
Task<ITeamChatMessage> AddBatchAsync(string content, ChatMessageContentType contentType = ChatMessageContentType.Text, string subject = null)
Parameters
contentstringContent of the message
contentTypeChatMessageContentTypeMessage content type e.g. Text, Html
subjectstringMessage Subject
Returns
- Task<ITeamChatMessage>
Newly added channel chat message