Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AddPraticipantRequest ¶
type AddPraticipantRequest struct { ParticipantToAdd ParticipantToAdd `json:"participantToAdd"` OperationContext string `json:"operationContext"` SourceCallerIDNumber SourceCallerIDNumber `json:"sourceCallerIdNumber"` OperationCallbackURI string `json:"operationCallbackUri"` }
type Call ¶
type Call interface { CreateOutBoundCall( ctx context.Context, options *CreateOutboundCallOptions, ) (*OutboundCall, error) AddParticipant( ctx context.Context, callId string, info AddPraticipantRequest, ) error WithToken( token string, ExpiresAt time.Time, ) Call GetToken() (string, error) SetTokenFetcher( fetcher func() (string, error), ) }
func NewWithLogger ¶ added in v0.2.0
type CommunicationUser ¶
type CommunicationUser struct {
ID string `json:"id"`
}
type OutboundCall ¶
type ParticipantToAdd ¶
type ParticipantToAdd struct { Kind string `json:"kind"` CommunicationUser CommunicationUser `json:"communicationUser"` }
type Source ¶
type Source struct { Kind string `json:"kind"` CommunicationUser CommunicationUser `json:"communicationUser"` }
type SourceCallerIDNumber ¶
type SourceCallerIDNumber struct {
Value string `json:"value"`
}
type Target ¶
type Target struct { Kind string `json:"kind"` CommunicationUser CommunicationUser `json:"communicationUser"` }
Click to show internal directories.
Click to hide internal directories.