Table of Contents

Class Properties

Namespace
Vonage.Conversations
Assembly
Vonage.dll

Represents the Conversation Properties.

public record Properties : IEquatable<Properties>
Inheritance
Properties
Implements
Inherited Members

Constructors

Properties(int, string, string, Dictionary<string, string>)

Represents the Conversation Properties.

public Properties(int TimeToLive, string Type, string CustomSortKey, Dictionary<string, string> CustomData)

Parameters

TimeToLive int

Conversation time to live. After how many seconds an empty conversation is deleted.

Type string

The conversation type.

CustomSortKey string

The custom sort key.

CustomData Dictionary<string, string>

The custom data.

Properties

CustomData

The custom data.

[JsonPropertyName("custom_data")]
[JsonPropertyOrder(3)]
public Dictionary<string, string> CustomData { get; init; }

Property Value

Dictionary<string, string>

CustomSortKey

The custom sort key.

[JsonPropertyName("custom_sort_key")]
[JsonPropertyOrder(2)]
public string CustomSortKey { get; init; }

Property Value

string

TimeToLive

Conversation time to live. After how many seconds an empty conversation is deleted.

[JsonPropertyName("ttl")]
[JsonPropertyOrder(0)]
public int TimeToLive { get; init; }

Property Value

int

Type

The conversation type.

[JsonPropertyName("type")]
[JsonPropertyOrder(1)]
public string Type { get; init; }

Property Value

string