Documentation ¶
Index ¶
- type ApiService
- type CreateWebChannelParams
- func (params *CreateWebChannelParams) SetAddressSid(AddressSid string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetCustomerFriendlyName(CustomerFriendlyName string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetPreEngagementData(PreEngagementData string) *CreateWebChannelParams
- type FlexV2WebChannel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶
type ApiService struct {
// contains filtered or unexported fields
}
func NewApiService ¶
func NewApiService(requestHandler *twilio.RequestHandler) *ApiService
func NewApiServiceWithClient ¶
func NewApiServiceWithClient(client twilio.BaseClient) *ApiService
func (*ApiService) CreateWebChannel ¶
func (c *ApiService) CreateWebChannel(params *CreateWebChannelParams) (*FlexV2WebChannel, error)
type CreateWebChannelParams ¶
type CreateWebChannelParams struct { // The SID of the Conversations Address. See [Address Configuration Resource](https://www.twilio.com/docs/conversations/api/address-configuration-resource) for configuration details. When a conversation is created on the Flex backend, the callback URL will be set to the corresponding Studio Flow SID or webhook URL in your address configuration. AddressSid *string `json:"AddressSid,omitempty"` // The Conversation's friendly name. See the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) for an example. ChatFriendlyName *string `json:"ChatFriendlyName,omitempty"` // The Conversation participant's friendly name. See the [Conversation Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) for an example. CustomerFriendlyName *string `json:"CustomerFriendlyName,omitempty"` // The pre-engagement data. PreEngagementData *string `json:"PreEngagementData,omitempty"` }
Optional parameters for the method 'CreateWebChannel'
func (*CreateWebChannelParams) SetAddressSid ¶
func (params *CreateWebChannelParams) SetAddressSid(AddressSid string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetChatFriendlyName ¶
func (params *CreateWebChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetCustomerFriendlyName ¶
func (params *CreateWebChannelParams) SetCustomerFriendlyName(CustomerFriendlyName string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetPreEngagementData ¶
func (params *CreateWebChannelParams) SetPreEngagementData(PreEngagementData string) *CreateWebChannelParams
type FlexV2WebChannel ¶
type FlexV2WebChannel struct { // The unique string representing the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) created. ConversationSid *string `json:"conversation_sid,omitempty"` // The unique string representing the User created and should be authorized to participate in the Conversation. For more details, see [User Identity & Access Tokens](https://www.twilio.com/docs/conversations/identity). Identity *string `json:"identity,omitempty"` }
FlexV2WebChannel struct for FlexV2WebChannel
Click to show internal directories.
Click to hide internal directories.