Twilio.Schemas.SmsVerification (twilio v0.2.0)

Copy Markdown

Fields

  • phone_number - The phone number being verified in E.164 format.
  • send_code_attempts - An array of verification attempt objects containing the channel attempted and the channel-specific transaction SID.
  • verification_sid - The SID that uniquely identifies the verification.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.SmsVerification{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  phone_number: String.t() | nil,
  send_code_attempts:
    [Twilio.Schemas.SmsVerification.SendCodeAttempt.t()] | nil,
  verification_sid: String.t() | nil
}

Functions

decode(json)

@spec decode(term()) :: t() | term()

Decodes parsed JSON into this struct.