Class RcsCardRequest
Represents a rich card message request to be sent via RCS. Rich cards combine media, text, and interactive suggestions.
public class RcsCardRequest : RcsMessageBase, IMessage
- Inheritance
-
RcsCardRequest
- Implements
- Inherited Members
Properties
Card
The rich card attachment containing title, text, media, and optional suggestions.
[JsonPropertyName("card")]
[JsonPropertyOrder(9)]
public CardAttachment Card { get; set; }
Property Value
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
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.