Class RcsCustomRequest
Represents a custom message request to be sent via RCS with a user-defined payload.
public class RcsCustomRequest : RcsMessageBase, IMessage
- Inheritance
-
RcsCustomRequest
- Implements
- Inherited Members
Properties
Channel
The channel to send to.
public override MessagesChannel Channel { get; }
Property Value
Custom
A custom payload. The schema of a custom object can vary widely.
[JsonPropertyName("custom")]
[JsonPropertyOrder(9)]
public object Custom { get; set; }
Property Value
MessageType
The type of message to send.
public override MessagesMessageType MessageType { get; }
Property Value
Methods
GetErrors()
Returns any validation errors for this message. An empty collection means the message is valid.
public override IEnumerable<string> GetErrors()
Returns
- IEnumerable<string>
A collection of error messages.