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