Class RcsTextRequest
Represents a text message request to be sent via RCS (Rich Communication Services).
public class RcsTextRequest : RcsMessageBase, IMessage
- Inheritance
-
RcsTextRequest
- Implements
- Inherited Members
Properties
Channel
The channel to send to.
public override MessagesChannel Channel { get; }
Property Value
MessageType
The type of message to send.
public override MessagesMessageType MessageType { get; }
Property Value
Suggestions
An array of suggestion objects to include with the card. You can include up to 11 suggestions per card.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyOrder(10)]
public SuggestionBase[] Suggestions { get; set; }
Property Value
Text
The text of the message to send. Limited to 3072 characters, including unicode.
[JsonPropertyName("text")]
[JsonPropertyOrder(9)]
public string Text { get; set; }
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.