Table of Contents

Class RcsCustomRequest

Namespace
Vonage.Messages.Rcs
Assembly
Vonage.dll

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

MessagesChannel

Custom

A custom payload. The schema of a custom object can vary widely.

[JsonPropertyName("custom")]
[JsonPropertyOrder(9)]
public object Custom { get; set; }

Property Value

object

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.