ChatMessageManager.GetChatMessageAsync | getChatMessageAsync method

Applies to Windows and Windows Phone

This API is not available to all Windows/Windows Phone apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

Syntax


chatMessageManager.getChatMessageAsync(localChatMessageId).done( /* Your success and error handlers */ );

Parameters

localChatMessageId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The local ID of the chat message to be retrieved.

Return value

Type: IAsyncOperation<ChatMessage>

An asynchronous operation that returns a ChatMessage upon successful completion.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1

Namespace

Windows.ApplicationModel.Chat
Windows::ApplicationModel::Chat [C++]

Metadata

Windows.winmd

See also

ChatMessageManager

 

 

Show: