Table of Contents

Class OptionalSettings

Namespace
Vonage.Messages.Sms
Assembly
Vonage.dll

An object of optional settings for the SMS message.

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

Constructors

OptionalSettings(string, string, string)

An object of optional settings for the SMS message.

public OptionalSettings(string EncodingType, string ContentId, string EntityId)

Parameters

EncodingType string

The encoding type to use for the message. If set to either text or unicode the specified type will be used. If set to auto (the default), the Messages API will automatically set the type based on the content of text; i.e. if unicode characters are detected in text, then the message will be encoded as unicode, and otherwise as text.

ContentId string

A string parameter that satisfies regulatory requirements when sending an SMS to specific countries. For more information please refer to the Country-Specific Outbound SMS Features"

EntityId string

A string parameter that satisfies regulatory requirements when sending an SMS to specific countries. For more information please refer to the Country-Specific Outbound SMS Features

Properties

ContentId

A string parameter that satisfies regulatory requirements when sending an SMS to specific countries. For more information please refer to the Country-Specific Outbound SMS Features"

public string ContentId { get; init; }

Property Value

string

EncodingType

The encoding type to use for the message. If set to either text or unicode the specified type will be used. If set to auto (the default), the Messages API will automatically set the type based on the content of text; i.e. if unicode characters are detected in text, then the message will be encoded as unicode, and otherwise as text.

public string EncodingType { get; init; }

Property Value

string

EntityId

A string parameter that satisfies regulatory requirements when sending an SMS to specific countries. For more information please refer to the Country-Specific Outbound SMS Features

public string EntityId { get; init; }

Property Value

string