VoiceMessageSendOptions
Defined in: packages/core/src/types/message.ts:226
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalfrom:string
Defined in: packages/core/src/types/message.ts:75
Sender number / sender id. Optional at KMsg layer; providers may require it.
Inherited from
Section titled “Inherited from”messageId?
Section titled “messageId?”
optionalmessageId:string
Defined in: packages/core/src/types/message.ts:66
Correlation id generated by KMsg (or provided by the caller). Providers must echo this value back in SendResult.messageId.
Inherited from
Section titled “Inherited from”options?
Section titled “options?”
optionaloptions:object
Defined in: packages/core/src/types/message.ts:79
Common delivery options understood by multiple providers.
country?
Section titled “country?”
optionalcountry:string
Country code for providers that support it (e.g. SOLAPI). Examples: “82”, “+82”.
customFields?
Section titled “customFields?”
optionalcustomFields:Record<string,string>
scheduledAt?
Section titled “scheduledAt?”
optionalscheduledAt:Date
Inherited from
Section titled “Inherited from”providerId?
Section titled “providerId?”
optionalproviderId:string
Defined in: packages/core/src/types/message.ts:70
Optional routing hint to force a specific provider by id.
Inherited from
Section titled “Inherited from”providerOptions?
Section titled “providerOptions?”
optionalproviderOptions:Record<string,unknown>
Defined in: packages/core/src/types/message.ts:91
Provider-specific escape hatch (use sparingly).
Inherited from
Section titled “Inherited from”CommonSendOptions.providerOptions
text:
string
Defined in: packages/core/src/types/message.ts:228
to:
string
Defined in: packages/core/src/types/message.ts:71
Inherited from
Section titled “Inherited from”type:
"VOICE"
Defined in: packages/core/src/types/message.ts:227
variables?
Section titled “variables?”
optionalvariables:MessageVariables
Defined in: packages/core/src/types/message.ts:229
voice?
Section titled “voice?”
optionalvoice:VoiceSendOptions
Defined in: packages/core/src/types/message.ts:230