ChatMessageStore.ForwardMessageAsync(String, IIterable<String>) Method

Definition

Asynchronously forwards the specified message to new recipients.

public:
 virtual IAsyncOperation<ChatMessage ^> ^ ForwardMessageAsync(Platform::String ^ localChatMessageId, IIterable<Platform::String ^> ^ addresses) = ForwardMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatMessage> ForwardMessageAsync(winrt::hstring const& localChatMessageId, IIterable<winrt::hstring> const& addresses);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatMessage> ForwardMessageAsync(string localChatMessageId, IEnumerable<string> addresses);
function forwardMessageAsync(localChatMessageId, addresses)
Public Function ForwardMessageAsync (localChatMessageId As String, addresses As IEnumerable(Of String)) As IAsyncOperation(Of ChatMessage)

Parameters

localChatMessageId
String

Platform::String

winrt::hstring

The ID of the message to forward.

addresses

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The addresses of the new recipients of the forwarded message.

Returns

A copy of the forwarded message.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to