Show / Hide Table of Contents

Interface IChatRequest

The interface IChatRequest.

Inherited Members
IBaseRequest.Client
IBaseRequest.RequestUrl
IBaseRequest.Headers
IBaseRequest.QueryOptions
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IChatRequest : IBaseRequest

Methods

View Source

CreateAsync(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.

View Source

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.

View Source

DeleteAsync()

Deletes the specified Chat.

Declaration
Task DeleteAsync()
Returns
Type Description
System.Threading.Tasks.Task

The task to await.

View Source

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.

View Source

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.

View Source

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.

View Source

GetAsync()

Gets the specified Chat.

Declaration
Task<Chat> GetAsync()
Returns
Type Description
System.Threading.Tasks.Task<Chat>

The Chat.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

  • View Source
Back to top Generated by DocFX