ChatMessageManager.SendChatMessageAsync | sendChatMessageAsync 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.sendChatMessageAsync(chatMessage).done( /* Your success and error handlers */ );

Parameters

chatMessage

Type: ChatMessage

The chat message to be sent.

Return value

Type: IAsyncOperation<String>

An asynchronous operation.

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: