Interface IChatParticipantRequest
The interface IChatParticipantRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IChatParticipantRequest : IBaseRequest
Methods
View SourceCreateAsync(ChatParticipant)
Creates the specified ChatParticipant using PUT.
Declaration
Task<ChatParticipant> CreateAsync(ChatParticipant chatParticipantToCreate)
Parameters
Type | Name | Description |
---|---|---|
ChatParticipant | chatParticipantToCreate | The ChatParticipant to create. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The created ChatParticipant. |
CreateAsync(ChatParticipant, CancellationToken)
Creates the specified ChatParticipant using PUT.
Declaration
Task<ChatParticipant> CreateAsync(ChatParticipant chatParticipantToCreate, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChatParticipant | chatParticipantToCreate | The ChatParticipant to create. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The created ChatParticipant. |
DeleteAsync()
Deletes the specified ChatParticipant.
Declaration
Task DeleteAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task to await. |
DeleteAsync(CancellationToken)
Deletes the specified ChatParticipant.
Declaration
Task DeleteAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task to await. |
Expand(Expression<Func<ChatParticipant, Object>>)
Adds the specified expand value to the request.
Declaration
IChatParticipantRequest Expand(Expression<Func<ChatParticipant, object>> expandExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<ChatParticipant, System.Object>> | expandExpression | The expression from which to calculate the expand value. |
Returns
Type | Description |
---|---|
IChatParticipantRequest | The request object to send. |
Expand(String)
Adds the specified expand value to the request.
Declaration
IChatParticipantRequest Expand(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The expand value. |
Returns
Type | Description |
---|---|
IChatParticipantRequest | The request object to send. |
GetAsync()
Gets the specified ChatParticipant.
Declaration
Task<ChatParticipant> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The ChatParticipant. |
GetAsync(CancellationToken)
Gets the specified ChatParticipant.
Declaration
Task<ChatParticipant> GetAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The ChatParticipant. |
Select(Expression<Func<ChatParticipant, Object>>)
Adds the specified select value to the request.
Declaration
IChatParticipantRequest Select(Expression<Func<ChatParticipant, object>> selectExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<ChatParticipant, System.Object>> | selectExpression | The expression from which to calculate the select value. |
Returns
Type | Description |
---|---|
IChatParticipantRequest | The request object to send. |
Select(String)
Adds the specified select value to the request.
Declaration
IChatParticipantRequest Select(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The select value. |
Returns
Type | Description |
---|---|
IChatParticipantRequest | The request object to send. |
UpdateAsync(ChatParticipant)
Updates the specified ChatParticipant using PATCH.
Declaration
Task<ChatParticipant> UpdateAsync(ChatParticipant chatParticipantToUpdate)
Parameters
Type | Name | Description |
---|---|---|
ChatParticipant | chatParticipantToUpdate | The ChatParticipant to update. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The updated ChatParticipant. |
UpdateAsync(ChatParticipant, CancellationToken)
Updates the specified ChatParticipant using PATCH.
Declaration
Task<ChatParticipant> UpdateAsync(ChatParticipant chatParticipantToUpdate, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChatParticipant | chatParticipantToUpdate | The ChatParticipant to update. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatParticipant> | The updated ChatParticipant. |