Interface IChatMessagesCollectionRequest
The interface IChatMessagesCollectionRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IChatMessagesCollectionRequest : IBaseRequest
Methods
View SourceAddAsync(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. |
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. |
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. |
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. |
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. |
GetAsync()
Gets the collection page.
Declaration
Task<IChatMessagesCollectionPage> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IChatMessagesCollectionPage> | The collection page. |
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. |
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. |
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. |
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. |
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. |
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. |