ChatMessage.From Property

Definition

Gets the identifier or address of the sender of the message.

public:
 property Platform::String ^ From { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring From();

void From(winrt::hstring value);
public string From { get; set; }
var string = chatMessage.from;
chatMessage.from = string;
Public Property From As String

Property Value

String

Platform::String

winrt::hstring

The sender of the message.

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to