Class WhatsAppCustomRequest
Represents a request to send a custom message on WhatsApp.
public class WhatsAppCustomRequest : WhatsAppMessageBase, IMessage
- Inheritance
-
WhatsAppCustomRequest
- Implements
- Inherited Members
Properties
Channel
The channel to send to.
[JsonPropertyOrder(0)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesChannel>))]
public override MessagesChannel Channel { get; }
Property Value
Custom
A custom payload, which is passed directly to WhatsApp for certain features such as templates and interactive messages.
[JsonPropertyOrder(9)]
public object Custom { get; set; }
Property Value
MessageType
The type of message to send.
[JsonPropertyOrder(1)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesMessageType>))]
public override MessagesMessageType MessageType { get; }