Table of Contents

Class ViberImageRequest

Namespace
Vonage.Messages.Viber
Assembly
Vonage.dll

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

MessagesChannel

Image

The image attachment. Supported formats: .jpg, .jpeg, .png.

[JsonPropertyOrder(9)]
public CaptionedAttachment Image { get; set; }

Property Value

CaptionedAttachment

MessageType

The type of message to send.

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

Property Value

MessagesMessageType