RcsEndUserMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Rich Communication Services (RCS) end user message.
public ref class RcsEndUserMessage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RcsEndUserMessage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RcsEndUserMessage
Public NotInheritable Class RcsEndUserMessage
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
chat
chatSystem
smsSend
|
Remarks
Call RcsEndUserMessageAvailableEventArgs.Message to instantiate this class.
Properties
Actions |
Gets the actions to which the user can respond. |
IsPinRequired |
Gets a Boolean value that specifies whether a PIN is required to be sent back with the response. |
Text |
Gets the contents of the message. |
Title |
Gets the title of the message. |
TransportId |
Gets the ID of the transport where this message originated. |
Methods
SendResponseAsync(RcsEndUserMessageAction) |
Asynchronously sends the user's selection back. |
SendResponseWithPinAsync(RcsEndUserMessageAction, String) |
Asynchronously sends the user's selection back with the specified PIN. |