Click or drag to resize
ChatClientGetMessagesAsync Method (String)
Retrieves all chat messages within particular dialog. It's only possible to read chat messages in dialog if current user id is in occupants_ids field or if dialog's type=1(PUBLIC_GROUP). Server will return dialog's chat messages sorted ascending by date_sent field. All retrieved chat messages will be marked as read after request.

Namespace: Quickblox.Sdk.Modules.ChatModule
Assembly: Quickblox.Sdk.Xamarin (in Quickblox.Sdk.Xamarin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Task<HttpResponse<RetrieveMessagesResponse>> GetMessagesAsync(
	string dialogId
)

Parameters

dialogId
Type: SystemString
Dialog ID

Return Value

Type: TaskHttpResponseRetrieveMessagesResponse

[Missing <returns> documentation for "M:Quickblox.Sdk.Modules.ChatModule.ChatClient.GetMessagesAsync(System.String)"]

See Also