Twilio. Schemas. ShortCode
(twilio v0.2.0)
Copy Markdown
Fields
account_sid- The SID of the Account that created this ShortCode resource.api_version- The API version used to start a new TwiML session when an SMS message is sent to this short code.date_created- The date and time in GMT that this resource was created specified in RFC 2822 format.date_updated- The date and time in GMT that this resource was last updated, specified in RFC 2822 format.friendly_name- A string that you assigned to describe this resource. By default, theFriendlyNameis the short code.short_code- The short code. e.g., 894546.sid- The unique string that that we created to identify this ShortCode resource.sms_fallback_method- The HTTP method we use to call thesms_fallback_url. Can be:GETorPOST.sms_fallback_url- The URL that we call if an error occurs while retrieving or executing the TwiML fromsms_url.sms_method- The HTTP method we use to call thesms_url. Can be:GETorPOST.sms_url- The URL we call when receiving an incoming SMS message to this short code.uri- The URI of this resource, relative tohttps://api.twilio.com.
Summary
Functions
Decodes parsed JSON into this struct.
Types
@type t() :: %Twilio.Schemas.ShortCode{ __extra__: %{optional(String.t()) => term()}, __present__: [atom()], account_sid: String.t() | nil, api_version: String.t() | nil, date_created: String.t() | nil, date_updated: String.t() | nil, friendly_name: String.t() | nil, short_code: String.t() | nil, sid: String.t() | nil, sms_fallback_method: String.t() | nil, sms_fallback_url: String.t() | nil, sms_method: String.t() | nil, sms_url: String.t() | nil, uri: String.t() | nil }