Table of Contents

Class RcsCardRequest

Namespace
Vonage.Messages.Rcs
Assembly
Vonage.dll

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

CardAttachment

Channel

The channel to send to.

public override MessagesChannel Channel { get; }

Property Value

MessagesChannel

MessageType

The type of message to send.

public override MessagesMessageType MessageType { get; }

Property Value

MessagesMessageType

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.