Struct ViberRequestData
Represents Viber-specific information.
public struct ViberRequestData
- Inherited Members
Properties
Action
The node for Viber action buttons.
[JsonPropertyOrder(5)]
public ViberAction Action { readonly get; set; }
Property Value
Category
The use of different category tags enables the business to send messages for different use cases. For Viber Service Messages the first message sent from a business to a user must be personal, informative and a targeted message - not promotional. By default Vonage sends the transaction category to Viber Service Messages.
[JsonPropertyOrder(0)]
[JsonConverter(typeof(EnumDescriptionJsonConverter<ViberMessageCategory>))]
public ViberMessageCategory? Category { readonly get; set; }
Property Value
Duration
The duration of the video in seconds.
[JsonPropertyOrder(1)]
public string Duration { readonly get; set; }
Property Value
FileSize
The file size of the video in MB.
[JsonPropertyOrder(2)]
public string FileSize { readonly get; set; }
Property Value
TTL
Set the time-to-live of message to be delivered in seconds. i.e. if the message is not delivered in 600 seconds then delete the message.
[JsonPropertyOrder(3)]
public int? TTL { readonly get; set; }
Property Value
- int?
Type
Viber-specific type definition. To use "template", please contact your Vonage Account Manager to setup your templates.
[JsonPropertyOrder(4)]
public string Type { readonly get; set; }