Interface CreateConversationParameters

Parameters object for VonageClient.createConversation

interface CreateConversationParameters {
    customData?: Nullable<CustomData>;
    customSortKey?: Nullable<string>;
    displayName?: Nullable<string>;
    imageUrl?: Nullable<string>;
    name?: Nullable<string>;
    ttl?: Nullable<number>;
}

Properties

customData?: Nullable<CustomData>

Custom data associated with the conversation

customSortKey?: Nullable<string>

The customSortKey to initialize the conversation with. When GetConversationsParameters.orderBy is set to OrderBy.CUSTOM_SORT_KEY, conversations will be sorted according to the value of this property.

displayName?: Nullable<string>

The displayName to initialize the conversation with

imageUrl?: Nullable<string>

The name to imageUrl the conversation with

name?: Nullable<string>

The name to initialize the conversation with

ttl?: Nullable<number>

The time-to-live (in seconds) to initialize the conversation with