Class ViberImageRequest
Represents a request to send an image message on Viber.
public class ViberImageRequest : ViberMessageBase, IMessage
- Inheritance
-
ViberImageRequest
- Implements
- Inherited Members
Properties
Channel
The channel to send to.
[JsonPropertyOrder(0)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesChannel>))]
public override MessagesChannel Channel { get; }
Property Value
Image
The image attachment. Supported formats: .jpg, .jpeg, .png.
[JsonPropertyOrder(9)]
public CaptionedAttachment Image { get; set; }
Property Value
MessageType
The type of message to send.
[JsonPropertyOrder(1)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<MessagesMessageType>))]
public override MessagesMessageType MessageType { get; }