twilio

package module
Version: v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 17 Imported by: 810

README

Twilio Go SDK

Twilio SDK PkgGoDev Release Go Report Card License

This SDK is designed to allow you to interact with Twilio API's using Golang.

⚠️ Disclaimer: This project is not an official Twilio project and is not supported or endorsed by Twilio in any way. It is maintained in my free time.

Getting Started

NOTE: The default branch for this project is called main

Documentation

The code is documented contains go doc style documentation with links to the relevant Twilio API documentation/ guides where appropriate.

Examples

Example code snippets for all of the supported services & resources can be found here

Used By

With Thanks

This project is very heavily inspired and influenced by other open-source projects including:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Twilio

type Twilio struct {
	API           *api.API
	Autopilot     *autopilot.Autopilot
	Chat          *chat.Chat
	Conversations *conversations.Conversations
	Fax           *fax.Fax
	Flex          *flex.Flex
	Lookups       *lookups.Lookups
	Messaging     *messaging.Messaging
	Monitor       *monitor.Monitor
	Proxy         *proxy.Proxy
	Serverless    *serverless.Serverless
	Studio        *studio.Studio
	Sync          *sync.Sync
	TaskRouter    *taskrouter.TaskRouter
	TwiML         *twiml.TwiML
}

Twilio clients manage all the available Twilio services & resources within the SDK

func New

func New(sess *session.Session) *Twilio

New create a new instance of the client using session data

func NewWithCredentials

func NewWithCredentials(creds *credentials.Credentials) *Twilio

NewWithCredentials creates a new instance of the client with credentials

Source Files

Directories

Path Synopsis
examples
service
api
api/v2010/account
Package account contains auto-generated files.
Package account contains auto-generated files.
api/v2010/account/address
Package address contains auto-generated files.
Package address contains auto-generated files.
api/v2010/account/addresses
Package addresses contains auto-generated files.
Package addresses contains auto-generated files.
api/v2010/account/balance
Package balance contains auto-generated files.
Package balance contains auto-generated files.
api/v2010/account/call
Package call contains auto-generated files.
Package call contains auto-generated files.
api/v2010/account/call/feedback
Package feedback contains auto-generated files.
Package feedback contains auto-generated files.
api/v2010/account/call/feedbacks
Package feedbacks contains auto-generated files.
Package feedbacks contains auto-generated files.
api/v2010/account/call/recording
Package recording contains auto-generated files.
Package recording contains auto-generated files.
api/v2010/account/call/recordings
Package recordings contains auto-generated files.
Package recordings contains auto-generated files.
api/v2010/account/calls
Package calls contains auto-generated files.
Package calls contains auto-generated files.
api/v2010/account/calls/feedback_summaries
Package feedback_summaries contains auto-generated files.
Package feedback_summaries contains auto-generated files.
api/v2010/account/calls/feedback_summary
Package feedback_summary contains auto-generated files.
Package feedback_summary contains auto-generated files.
api/v2010/account/conference
Package conference contains auto-generated files.
Package conference contains auto-generated files.
api/v2010/account/conference/participant
Package participant contains auto-generated files.
Package participant contains auto-generated files.
api/v2010/account/conference/participants
Package participants contains auto-generated files.
Package participants contains auto-generated files.
api/v2010/account/conference/recording
Package recording contains auto-generated files.
Package recording contains auto-generated files.
api/v2010/account/conference/recordings
Package recordings contains auto-generated files.
Package recordings contains auto-generated files.
api/v2010/account/conferences
Package conferences contains auto-generated files.
Package conferences contains auto-generated files.
api/v2010/account/key
Package key contains auto-generated files.
Package key contains auto-generated files.
api/v2010/account/keys
Package keys contains auto-generated files.
Package keys contains auto-generated files.
api/v2010/account/message
Package message contains auto-generated files.
Package message contains auto-generated files.
api/v2010/account/message/feedbacks
Package feedbacks contains auto-generated files.
Package feedbacks contains auto-generated files.
api/v2010/account/message/media_attachment
Package media_attachment contains auto-generated files.
Package media_attachment contains auto-generated files.
api/v2010/account/message/media_attachments
Package media_attachments contains auto-generated files.
Package media_attachments contains auto-generated files.
api/v2010/account/messages
Package messages contains auto-generated files.
Package messages contains auto-generated files.
api/v2010/account/queue
Package queue contains auto-generated files.
Package queue contains auto-generated files.
api/v2010/account/queue/member
Package member contains auto-generated files.
Package member contains auto-generated files.
api/v2010/account/queue/members
Package members contains auto-generated files.
Package members contains auto-generated files.
api/v2010/account/queues
Package queues contains auto-generated files.
Package queues contains auto-generated files.
api/v2010/account/recording
Package recording contains auto-generated files.
Package recording contains auto-generated files.
api/v2010/account/recordings
Package recordings contains auto-generated files.
Package recordings contains auto-generated files.
api/v2010/account/tokens
Package tokens contains auto-generated files.
Package tokens contains auto-generated files.
api/v2010/accounts
Package accounts contains auto-generated files.
Package accounts contains auto-generated files.
autopilot/v1/assistant
Package assistant contains auto-generated files.
Package assistant contains auto-generated files.
autopilot/v1/assistant/defaults
Package defaults contains auto-generated files.
Package defaults contains auto-generated files.
autopilot/v1/assistant/field_type
Package field_type contains auto-generated files.
Package field_type contains auto-generated files.
autopilot/v1/assistant/field_type/field_value
Package field_value contains auto-generated files.
Package field_value contains auto-generated files.
autopilot/v1/assistant/field_type/field_values
Package field_values contains auto-generated files.
Package field_values contains auto-generated files.
autopilot/v1/assistant/field_types
Package field_types contains auto-generated files.
Package field_types contains auto-generated files.
autopilot/v1/assistant/model_build
Package model_build contains auto-generated files.
Package model_build contains auto-generated files.
autopilot/v1/assistant/model_builds
Package model_builds contains auto-generated files.
Package model_builds contains auto-generated files.
autopilot/v1/assistant/queries
Package queries contains auto-generated files.
Package queries contains auto-generated files.
autopilot/v1/assistant/query
Package query contains auto-generated files.
Package query contains auto-generated files.
autopilot/v1/assistant/style_sheet
Package style_sheet contains auto-generated files.
Package style_sheet contains auto-generated files.
autopilot/v1/assistant/task
Package task contains auto-generated files.
Package task contains auto-generated files.
autopilot/v1/assistant/task/actions
Package actions contains auto-generated files.
Package actions contains auto-generated files.
autopilot/v1/assistant/task/field
Package field contains auto-generated files.
Package field contains auto-generated files.
autopilot/v1/assistant/task/fields
Package fields contains auto-generated files.
Package fields contains auto-generated files.
autopilot/v1/assistant/task/sample
Package sample contains auto-generated files.
Package sample contains auto-generated files.
autopilot/v1/assistant/task/samples
Package samples contains auto-generated files.
Package samples contains auto-generated files.
autopilot/v1/assistant/task/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
autopilot/v1/assistant/tasks
Package tasks contains auto-generated files.
Package tasks contains auto-generated files.
autopilot/v1/assistant/webhook
Package webhook contains auto-generated files.
Package webhook contains auto-generated files.
autopilot/v1/assistant/webhooks
Package webhooks contains auto-generated files.
Package webhooks contains auto-generated files.
autopilot/v1/assistants
Package assistants contains auto-generated files.
Package assistants contains auto-generated files.
chat/v2/credential
Package credential contains auto-generated files.
Package credential contains auto-generated files.
chat/v2/credentials
Package credentials contains auto-generated files.
Package credentials contains auto-generated files.
chat/v2/service
Package service contains auto-generated files.
Package service contains auto-generated files.
chat/v2/service/binding
Package binding contains auto-generated files.
Package binding contains auto-generated files.
chat/v2/service/bindings
Package bindings contains auto-generated files.
Package bindings contains auto-generated files.
chat/v2/service/channel
Package channel contains auto-generated files.
Package channel contains auto-generated files.
chat/v2/service/channel/invite
Package invite contains auto-generated files.
Package invite contains auto-generated files.
chat/v2/service/channel/invites
Package invites contains auto-generated files.
Package invites contains auto-generated files.
chat/v2/service/channel/member
Package member contains auto-generated files.
Package member contains auto-generated files.
chat/v2/service/channel/members
Package members contains auto-generated files.
Package members contains auto-generated files.
chat/v2/service/channel/message
Package message contains auto-generated files.
Package message contains auto-generated files.
chat/v2/service/channel/messages
Package messages contains auto-generated files.
Package messages contains auto-generated files.
chat/v2/service/channel/webhook
Package webhook contains auto-generated files.
Package webhook contains auto-generated files.
chat/v2/service/channel/webhooks
Package webhooks contains auto-generated files.
Package webhooks contains auto-generated files.
chat/v2/service/channels
Package channels contains auto-generated files.
Package channels contains auto-generated files.
chat/v2/service/role
Package role contains auto-generated files.
Package role contains auto-generated files.
chat/v2/service/roles
Package roles contains auto-generated files.
Package roles contains auto-generated files.
chat/v2/service/user
Package user contains auto-generated files.
Package user contains auto-generated files.
chat/v2/service/user/binding
Package binding contains auto-generated files.
Package binding contains auto-generated files.
chat/v2/service/user/bindings
Package bindings contains auto-generated files.
Package bindings contains auto-generated files.
chat/v2/service/user/channel
Package channel contains auto-generated files.
Package channel contains auto-generated files.
chat/v2/service/user/channels
Package channels contains auto-generated files.
Package channels contains auto-generated files.
chat/v2/service/users
Package users contains auto-generated files.
Package users contains auto-generated files.
chat/v2/services
Package services contains auto-generated files.
Package services contains auto-generated files.
conversations/v1/conversation
Package conversation contains auto-generated files.
Package conversation contains auto-generated files.
conversations/v1/conversation/message
Package message contains auto-generated files.
Package message contains auto-generated files.
conversations/v1/conversation/messages
Package messages contains auto-generated files.
Package messages contains auto-generated files.
conversations/v1/conversation/participant
Package participant contains auto-generated files.
Package participant contains auto-generated files.
conversations/v1/conversation/participants
Package participants contains auto-generated files.
Package participants contains auto-generated files.
conversations/v1/conversation/webhook
Package webhook contains auto-generated files.
Package webhook contains auto-generated files.
conversations/v1/conversation/webhooks
Package webhooks contains auto-generated files.
Package webhooks contains auto-generated files.
conversations/v1/conversations
Package conversations contains auto-generated files.
Package conversations contains auto-generated files.
conversations/v1/webhook
Package webhook contains auto-generated files.
Package webhook contains auto-generated files.
fax
fax/v1/fax
Package fax contains auto-generated files.
Package fax contains auto-generated files.
fax/v1/fax/media_file
Package media_file contains auto-generated files.
Package media_file contains auto-generated files.
fax/v1/fax/media_files
Package media_files contains auto-generated files.
Package media_files contains auto-generated files.
fax/v1/faxes
Package faxes contains auto-generated files.
Package faxes contains auto-generated files.
flex/v1/channel
Package channel contains auto-generated files.
Package channel contains auto-generated files.
flex/v1/channels
Package channels contains auto-generated files.
Package channels contains auto-generated files.
flex/v1/configuration
Package configuration contains auto-generated files.
Package configuration contains auto-generated files.
flex/v1/flex_flow
Package flex_flow contains auto-generated files.
Package flex_flow contains auto-generated files.
flex/v1/flex_flows
Package flex_flows contains auto-generated files.
Package flex_flows contains auto-generated files.
flex/v1/web_channel
Package web_channel contains auto-generated files.
Package web_channel contains auto-generated files.
flex/v1/web_channels
Package web_channels contains auto-generated files.
Package web_channels contains auto-generated files.
lookups/v1/phone_number
Package phone_number contains auto-generated files.
Package phone_number contains auto-generated files.
messaging/v1/service
Package service contains auto-generated files.
Package service contains auto-generated files.
messaging/v1/service/alpha_sender
Package alpha_sender contains auto-generated files.
Package alpha_sender contains auto-generated files.
messaging/v1/service/alpha_senders
Package alpha_senders contains auto-generated files.
Package alpha_senders contains auto-generated files.
messaging/v1/service/phone_number
Package phone_number contains auto-generated files.
Package phone_number contains auto-generated files.
messaging/v1/service/phone_numbers
Package phone_numbers contains auto-generated files.
Package phone_numbers contains auto-generated files.
messaging/v1/service/short_code
Package short_code contains auto-generated files.
Package short_code contains auto-generated files.
messaging/v1/service/short_codes
Package short_codes contains auto-generated files.
Package short_codes contains auto-generated files.
messaging/v1/services
Package services contains auto-generated files.
Package services contains auto-generated files.
monitor/v1/alert
Package alert contains auto-generated files.
Package alert contains auto-generated files.
monitor/v1/alerts
Package alerts contains auto-generated files.
Package alerts contains auto-generated files.
monitor/v1/event
Package event contains auto-generated files.
Package event contains auto-generated files.
monitor/v1/events
Package events contains auto-generated files.
Package events contains auto-generated files.
proxy/v1/service
Package service contains auto-generated files.
Package service contains auto-generated files.
proxy/v1/service/phone_number
Package phone_number contains auto-generated files.
Package phone_number contains auto-generated files.
proxy/v1/service/phone_numbers
Package phone_numbers contains auto-generated files.
Package phone_numbers contains auto-generated files.
proxy/v1/service/session
Package session contains auto-generated files.
Package session contains auto-generated files.
proxy/v1/service/session/interaction
Package interaction contains auto-generated files.
Package interaction contains auto-generated files.
proxy/v1/service/session/interactions
Package interactions contains auto-generated files.
Package interactions contains auto-generated files.
proxy/v1/service/session/participant
Package participant contains auto-generated files.
Package participant contains auto-generated files.
proxy/v1/service/session/participant/message_interactions
Package message_interactions contains auto-generated files.
Package message_interactions contains auto-generated files.
proxy/v1/service/session/participants
Package participants contains auto-generated files.
Package participants contains auto-generated files.
proxy/v1/service/sessions
Package sessions contains auto-generated files.
Package sessions contains auto-generated files.
proxy/v1/service/short_code
Package short_code contains auto-generated files.
Package short_code contains auto-generated files.
proxy/v1/service/short_codes
Package short_codes contains auto-generated files.
Package short_codes contains auto-generated files.
proxy/v1/services
Package services contains auto-generated files.
Package services contains auto-generated files.
serverless/v1/service
Package service contains auto-generated files.
Package service contains auto-generated files.
serverless/v1/service/asset
Package asset contains auto-generated files.
Package asset contains auto-generated files.
serverless/v1/service/asset/version
Package version contains auto-generated files.
Package version contains auto-generated files.
serverless/v1/service/asset/versions
Package versions contains auto-generated files.
Package versions contains auto-generated files.
serverless/v1/service/assets
Package assets contains auto-generated files.
Package assets contains auto-generated files.
serverless/v1/service/build
Package build contains auto-generated files.
Package build contains auto-generated files.
serverless/v1/service/build/status
Package status contains auto-generated files.
Package status contains auto-generated files.
serverless/v1/service/builds
Package builds contains auto-generated files.
Package builds contains auto-generated files.
serverless/v1/service/environment
Package environment contains auto-generated files.
Package environment contains auto-generated files.
serverless/v1/service/environment/deployment
Package deployment contains auto-generated files.
Package deployment contains auto-generated files.
serverless/v1/service/environment/deployments
Package deployments contains auto-generated files.
Package deployments contains auto-generated files.
serverless/v1/service/environment/variable
Package variable contains auto-generated files.
Package variable contains auto-generated files.
serverless/v1/service/environment/variables
Package variables contains auto-generated files.
Package variables contains auto-generated files.
serverless/v1/service/environments
Package environments contains auto-generated files.
Package environments contains auto-generated files.
serverless/v1/service/function
Package function contains auto-generated files.
Package function contains auto-generated files.
serverless/v1/service/function/version
Package version contains auto-generated files.
Package version contains auto-generated files.
serverless/v1/service/function/version/content
Package content contains auto-generated files.
Package content contains auto-generated files.
serverless/v1/service/function/versions
Package versions contains auto-generated files.
Package versions contains auto-generated files.
serverless/v1/service/functions
Package functions contains auto-generated files.
Package functions contains auto-generated files.
serverless/v1/services
Package services contains auto-generated files.
Package services contains auto-generated files.
studio/v2/flow
Package flow contains auto-generated files.
Package flow contains auto-generated files.
studio/v2/flow/execution
Package execution contains auto-generated files.
Package execution contains auto-generated files.
studio/v2/flow/execution/context
Package context contains auto-generated files.
Package context contains auto-generated files.
studio/v2/flow/execution/step
Package step contains auto-generated files.
Package step contains auto-generated files.
studio/v2/flow/execution/step/context
Package context contains auto-generated files.
Package context contains auto-generated files.
studio/v2/flow/execution/steps
Package steps contains auto-generated files.
Package steps contains auto-generated files.
studio/v2/flow/executions
Package executions contains auto-generated files.
Package executions contains auto-generated files.
studio/v2/flow/revision
Package revision contains auto-generated files.
Package revision contains auto-generated files.
studio/v2/flow/revisions
Package revisions contains auto-generated files.
Package revisions contains auto-generated files.
studio/v2/flow/test_users
Package test_users contains auto-generated files.
Package test_users contains auto-generated files.
studio/v2/flow_validation
Package flow_validation contains auto-generated files.
Package flow_validation contains auto-generated files.
studio/v2/flows
Package flows contains auto-generated files.
Package flows contains auto-generated files.
sync/v1/service
Package service contains auto-generated files.
Package service contains auto-generated files.
sync/v1/service/document
Package document contains auto-generated files.
Package document contains auto-generated files.
sync/v1/service/document/permission
Package permission contains auto-generated files.
Package permission contains auto-generated files.
sync/v1/service/document/permissions
Package permissions contains auto-generated files.
Package permissions contains auto-generated files.
sync/v1/service/documents
Package documents contains auto-generated files.
Package documents contains auto-generated files.
sync/v1/service/sync_list
Package sync_list contains auto-generated files.
Package sync_list contains auto-generated files.
sync/v1/service/sync_list/item
Package item contains auto-generated files.
Package item contains auto-generated files.
sync/v1/service/sync_list/items
Package items contains auto-generated files.
Package items contains auto-generated files.
sync/v1/service/sync_list/permission
Package permission contains auto-generated files.
Package permission contains auto-generated files.
sync/v1/service/sync_list/permissions
Package permissions contains auto-generated files.
Package permissions contains auto-generated files.
sync/v1/service/sync_lists
Package sync_lists contains auto-generated files.
Package sync_lists contains auto-generated files.
sync/v1/service/sync_map
Package sync_map contains auto-generated files.
Package sync_map contains auto-generated files.
sync/v1/service/sync_map/item
Package item contains auto-generated files.
Package item contains auto-generated files.
sync/v1/service/sync_map/items
Package items contains auto-generated files.
Package items contains auto-generated files.
sync/v1/service/sync_map/permission
Package permission contains auto-generated files.
Package permission contains auto-generated files.
sync/v1/service/sync_map/permissions
Package permissions contains auto-generated files.
Package permissions contains auto-generated files.
sync/v1/service/sync_maps
Package sync_maps contains auto-generated files.
Package sync_maps contains auto-generated files.
sync/v1/service/sync_stream
Package sync_stream contains auto-generated files.
Package sync_stream contains auto-generated files.
sync/v1/service/sync_stream/messages
Package messages contains auto-generated files.
Package messages contains auto-generated files.
sync/v1/service/sync_streams
Package sync_streams contains auto-generated files.
Package sync_streams contains auto-generated files.
sync/v1/services
Package services contains auto-generated files.
Package services contains auto-generated files.
taskrouter/v1/workspace
Package workspace contains auto-generated files.
Package workspace contains auto-generated files.
taskrouter/v1/workspace/activities
Package activities contains auto-generated files.
Package activities contains auto-generated files.
taskrouter/v1/workspace/activity
Package activity contains auto-generated files.
Package activity contains auto-generated files.
taskrouter/v1/workspace/cumulative_statistics
Package cumulative_statistics contains auto-generated files.
Package cumulative_statistics contains auto-generated files.
taskrouter/v1/workspace/real_time_statistics
Package real_time_statistics contains auto-generated files.
Package real_time_statistics contains auto-generated files.
taskrouter/v1/workspace/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
taskrouter/v1/workspace/task
Package task contains auto-generated files.
Package task contains auto-generated files.
taskrouter/v1/workspace/task/reservation
Package reservation contains auto-generated files.
Package reservation contains auto-generated files.
taskrouter/v1/workspace/task/reservations
Package reservations contains auto-generated files.
Package reservations contains auto-generated files.
taskrouter/v1/workspace/task_channel
Package task_channel contains auto-generated files.
Package task_channel contains auto-generated files.
taskrouter/v1/workspace/task_channels
Package task_channels contains auto-generated files.
Package task_channels contains auto-generated files.
taskrouter/v1/workspace/task_queue
Package task_queue contains auto-generated files.
Package task_queue contains auto-generated files.
taskrouter/v1/workspace/task_queue/cumulative_statistics
Package cumulative_statistics contains auto-generated files.
Package cumulative_statistics contains auto-generated files.
taskrouter/v1/workspace/task_queue/real_time_statistics
Package real_time_statistics contains auto-generated files.
Package real_time_statistics contains auto-generated files.
taskrouter/v1/workspace/task_queue/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
taskrouter/v1/workspace/task_queues
Package task_queues contains auto-generated files.
Package task_queues contains auto-generated files.
taskrouter/v1/workspace/tasks
Package tasks contains auto-generated files.
Package tasks contains auto-generated files.
taskrouter/v1/workspace/worker
Package worker contains auto-generated files.
Package worker contains auto-generated files.
taskrouter/v1/workspace/worker/channel
Package channel contains auto-generated files.
Package channel contains auto-generated files.
taskrouter/v1/workspace/worker/channels
Package channels contains auto-generated files.
Package channels contains auto-generated files.
taskrouter/v1/workspace/worker/reservation
Package reservation contains auto-generated files.
Package reservation contains auto-generated files.
taskrouter/v1/workspace/worker/reservations
Package reservations contains auto-generated files.
Package reservations contains auto-generated files.
taskrouter/v1/workspace/worker/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
taskrouter/v1/workspace/workers
Package workers contains auto-generated files.
Package workers contains auto-generated files.
taskrouter/v1/workspace/workers/cumulative_statistics
Package cumulative_statistics contains auto-generated files.
Package cumulative_statistics contains auto-generated files.
taskrouter/v1/workspace/workers/real_time_statistics
Package real_time_statistics contains auto-generated files.
Package real_time_statistics contains auto-generated files.
taskrouter/v1/workspace/workers/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
taskrouter/v1/workspace/workflow
Package workflow contains auto-generated files.
Package workflow contains auto-generated files.
taskrouter/v1/workspace/workflow/cumulative_statistics
Package cumulative_statistics contains auto-generated files.
Package cumulative_statistics contains auto-generated files.
taskrouter/v1/workspace/workflow/real_time_statistics
Package real_time_statistics contains auto-generated files.
Package real_time_statistics contains auto-generated files.
taskrouter/v1/workspace/workflow/statistics
Package statistics contains auto-generated files.
Package statistics contains auto-generated files.
taskrouter/v1/workspace/workflows
Package workflows contains auto-generated files.
Package workflows contains auto-generated files.
taskrouter/v1/workspaces
Package workspaces contains auto-generated files.
Package workspaces contains auto-generated files.
tools
fax

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL