Show / Hide Table of Contents

Interface IChatMessagesCollectionRequest

The interface IChatMessagesCollectionRequest.

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

Methods

View Source

AddAsync(Message)

Adds the specified Message to the collection via POST.

Declaration
Task<Message> AddAsync(Message Message)
Parameters
Type Name Description
Message Message

The Message to add.

Returns
Type Description
System.Threading.Tasks.Task<Message>

The created Message.

View Source

AddAsync(Message, CancellationToken)

Adds the specified Message to the collection via POST.

Declaration
Task<Message> AddAsync(Message Message, CancellationToken cancellationToken)
Parameters
Type Name Description
Message Message

The Message to add.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken for the request.

Returns
Type Description
System.Threading.Tasks.Task<Message>

The created Message.

View Source

Expand(Expression<Func<Message, Object>>)

Adds the specified expand value to the request.

Declaration
IChatMessagesCollectionRequest Expand(Expression<Func<Message, object>> expandExpression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Func<Message, System.Object>> expandExpression

The expression from which to calculate the expand value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Expand(String)

Adds the specified expand value to the request.

Declaration
IChatMessagesCollectionRequest Expand(string value)
Parameters
Type Name Description
System.String value

The expand value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Filter(String)

Adds the specified filter value to the request.

Declaration
IChatMessagesCollectionRequest Filter(string value)
Parameters
Type Name Description
System.String value

The filter value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

GetAsync()

Gets the collection page.

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

The collection page.

View Source

GetAsync(CancellationToken)

Gets the collection page.

Declaration
Task<IChatMessagesCollectionPage> 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<IChatMessagesCollectionPage>

The collection page.

View Source

OrderBy(String)

Adds the specified orderby value to the request.

Declaration
IChatMessagesCollectionRequest OrderBy(string value)
Parameters
Type Name Description
System.String value

The orderby value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Select(Expression<Func<Message, Object>>)

Adds the specified select value to the request.

Declaration
IChatMessagesCollectionRequest Select(Expression<Func<Message, object>> selectExpression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Func<Message, System.Object>> selectExpression

The expression from which to calculate the select value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Select(String)

Adds the specified select value to the request.

Declaration
IChatMessagesCollectionRequest Select(string value)
Parameters
Type Name Description
System.String value

The select value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Skip(Int32)

Adds the specified skip value to the request.

Declaration
IChatMessagesCollectionRequest Skip(int value)
Parameters
Type Name Description
System.Int32 value

The skip value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

View Source

Top(Int32)

Adds the specified top value to the request.

Declaration
IChatMessagesCollectionRequest Top(int value)
Parameters
Type Name Description
System.Int32 value

The top value.

Returns
Type Description
IChatMessagesCollectionRequest

The request object to send.

  • View Source
Back to top Generated by DocFX