WebexClient.GetMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get Messages
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Webex.Models.GetMessagesResponse> GetMessagesAsync(string space, string mentionedPeople = default, string beforeMessage = default, string before = default, int? max = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMessagesAsync : string * string * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Webex.Models.GetMessagesResponse>
override this.GetMessagesAsync : string * string * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Webex.Models.GetMessagesResponse>
Public Overridable Function GetMessagesAsync (space As String, Optional mentionedPeople As String = Nothing, Optional beforeMessage As String = Nothing, Optional before As String = Nothing, Optional max As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetMessagesResponse)
Parameters
- space
- String
Space
- mentionedPeople
- String
Mentioned People
- beforeMessage
- String
Before Message
- before
- String
Before
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get Messages response.
Remarks
Get a list of recent messages for a space