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
TimeToLiveintConversation time to live. After how many seconds an empty conversation is deleted.
TypestringThe conversation type.
CustomSortKeystringThe custom sort key.
CustomDataDictionary<string, string>The custom data.
Properties
CustomData
The custom data.
[JsonPropertyName("custom_data")]
[JsonPropertyOrder(3)]
public Dictionary<string, string> CustomData { get; init; }
Property Value
CustomSortKey
The custom sort key.
[JsonPropertyName("custom_sort_key")]
[JsonPropertyOrder(2)]
public string CustomSortKey { get; init; }
Property Value
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
Type
The conversation type.
[JsonPropertyName("type")]
[JsonPropertyOrder(1)]
public string Type { get; init; }