SmsSendResult interface

Properties

errorMessage

Optional error message in case of 4xx/5xx/repeatable errors.

httpStatusCode

HTTP Status code.

messageId

The identifier of the outgoing Sms message. Only present if message processed.

successful

Indicates if the message is processed successfully or not.

to

The recipient's phone number in E.164 format.

Property Details

errorMessage

Optional error message in case of 4xx/5xx/repeatable errors.

errorMessage?: string

Property Value

string

httpStatusCode

HTTP Status code.

httpStatusCode: number

Property Value

number

messageId

The identifier of the outgoing Sms message. Only present if message processed.

messageId?: string

Property Value

string

successful

Indicates if the message is processed successfully or not.

successful: boolean

Property Value

boolean

to

The recipient's phone number in E.164 format.

to: string

Property Value

string