Table of Contents

Class WhatsAppSingleProductRequest

Namespace
Vonage.Messages.WhatsApp
Assembly
Vonage.dll

Represents a request to send Single Item product message on WhatsApp.

public class WhatsAppSingleProductRequest : WhatsAppMessageBase, IMessage
Inheritance
WhatsAppSingleProductRequest
Implements
Inherited Members

Properties

Channel

The channel to send to.

[JsonPropertyOrder(0)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesChannel>))]
public override MessagesChannel Channel { get; }

Property Value

MessagesChannel

Custom

The product message content containing a single item from a business catalog.

[JsonPropertyOrder(9)]
public ProductMessage<SingleItemMessageContent> Custom { get; set; }

Property Value

ProductMessage<SingleItemMessageContent>

MessageType

The type of message to send.

[JsonPropertyOrder(1)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesMessageType>))]
public override MessagesMessageType MessageType { get; }

Property Value

MessagesMessageType