Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AddRtcAccountRequest
- type AddRtcAccountResponse
- type BatchRobotSmartCallRequest
- type BatchRobotSmartCallResponse
- type BindNumberAndVoipIdRequest
- type BindNumberAndVoipIdResponse
- type CancelCallRequest
- type CancelCallResponse
- type CancelOrderRobotTaskRequest
- type CancelOrderRobotTaskResponse
- type CancelRobotTaskRequest
- type CancelRobotTaskResponse
- type ClickToDialRequest
- type ClickToDialResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AddRtcAccount(request *AddRtcAccountRequest) (response *AddRtcAccountResponse, err error)
- func (client *Client) AddRtcAccountWithCallback(request *AddRtcAccountRequest, ...) <-chan int
- func (client *Client) AddRtcAccountWithChan(request *AddRtcAccountRequest) (<-chan *AddRtcAccountResponse, <-chan error)
- func (client *Client) BatchRobotSmartCall(request *BatchRobotSmartCallRequest) (response *BatchRobotSmartCallResponse, err error)
- func (client *Client) BatchRobotSmartCallWithCallback(request *BatchRobotSmartCallRequest, ...) <-chan int
- func (client *Client) BatchRobotSmartCallWithChan(request *BatchRobotSmartCallRequest) (<-chan *BatchRobotSmartCallResponse, <-chan error)
- func (client *Client) BindNumberAndVoipId(request *BindNumberAndVoipIdRequest) (response *BindNumberAndVoipIdResponse, err error)
- func (client *Client) BindNumberAndVoipIdWithCallback(request *BindNumberAndVoipIdRequest, ...) <-chan int
- func (client *Client) BindNumberAndVoipIdWithChan(request *BindNumberAndVoipIdRequest) (<-chan *BindNumberAndVoipIdResponse, <-chan error)
- func (client *Client) CancelCall(request *CancelCallRequest) (response *CancelCallResponse, err error)
- func (client *Client) CancelCallWithCallback(request *CancelCallRequest, ...) <-chan int
- func (client *Client) CancelCallWithChan(request *CancelCallRequest) (<-chan *CancelCallResponse, <-chan error)
- func (client *Client) CancelOrderRobotTask(request *CancelOrderRobotTaskRequest) (response *CancelOrderRobotTaskResponse, err error)
- func (client *Client) CancelOrderRobotTaskWithCallback(request *CancelOrderRobotTaskRequest, ...) <-chan int
- func (client *Client) CancelOrderRobotTaskWithChan(request *CancelOrderRobotTaskRequest) (<-chan *CancelOrderRobotTaskResponse, <-chan error)
- func (client *Client) CancelRobotTask(request *CancelRobotTaskRequest) (response *CancelRobotTaskResponse, err error)
- func (client *Client) CancelRobotTaskWithCallback(request *CancelRobotTaskRequest, ...) <-chan int
- func (client *Client) CancelRobotTaskWithChan(request *CancelRobotTaskRequest) (<-chan *CancelRobotTaskResponse, <-chan error)
- func (client *Client) ClickToDial(request *ClickToDialRequest) (response *ClickToDialResponse, err error)
- func (client *Client) ClickToDialWithCallback(request *ClickToDialRequest, ...) <-chan int
- func (client *Client) ClickToDialWithChan(request *ClickToDialRequest) (<-chan *ClickToDialResponse, <-chan error)
- func (client *Client) CreateRobotTask(request *CreateRobotTaskRequest) (response *CreateRobotTaskResponse, err error)
- func (client *Client) CreateRobotTaskWithCallback(request *CreateRobotTaskRequest, ...) <-chan int
- func (client *Client) CreateRobotTaskWithChan(request *CreateRobotTaskRequest) (<-chan *CreateRobotTaskResponse, <-chan error)
- func (client *Client) DeleteRobotTask(request *DeleteRobotTaskRequest) (response *DeleteRobotTaskResponse, err error)
- func (client *Client) DeleteRobotTaskWithCallback(request *DeleteRobotTaskRequest, ...) <-chan int
- func (client *Client) DeleteRobotTaskWithChan(request *DeleteRobotTaskRequest) (<-chan *DeleteRobotTaskResponse, <-chan error)
- func (client *Client) GetRtcToken(request *GetRtcTokenRequest) (response *GetRtcTokenResponse, err error)
- func (client *Client) GetRtcTokenWithCallback(request *GetRtcTokenRequest, ...) <-chan int
- func (client *Client) GetRtcTokenWithChan(request *GetRtcTokenRequest) (<-chan *GetRtcTokenResponse, <-chan error)
- func (client *Client) IvrCall(request *IvrCallRequest) (response *IvrCallResponse, err error)
- func (client *Client) IvrCallWithCallback(request *IvrCallRequest, callback func(response *IvrCallResponse, err error)) <-chan int
- func (client *Client) IvrCallWithChan(request *IvrCallRequest) (<-chan *IvrCallResponse, <-chan error)
- func (client *Client) QueryCallDetailByCallId(request *QueryCallDetailByCallIdRequest) (response *QueryCallDetailByCallIdResponse, err error)
- func (client *Client) QueryCallDetailByCallIdWithCallback(request *QueryCallDetailByCallIdRequest, ...) <-chan int
- func (client *Client) QueryCallDetailByCallIdWithChan(request *QueryCallDetailByCallIdRequest) (<-chan *QueryCallDetailByCallIdResponse, <-chan error)
- func (client *Client) QueryCallDetailByTaskId(request *QueryCallDetailByTaskIdRequest) (response *QueryCallDetailByTaskIdResponse, err error)
- func (client *Client) QueryCallDetailByTaskIdWithCallback(request *QueryCallDetailByTaskIdRequest, ...) <-chan int
- func (client *Client) QueryCallDetailByTaskIdWithChan(request *QueryCallDetailByTaskIdRequest) (<-chan *QueryCallDetailByTaskIdResponse, <-chan error)
- func (client *Client) QueryRobotInfoList(request *QueryRobotInfoListRequest) (response *QueryRobotInfoListResponse, err error)
- func (client *Client) QueryRobotInfoListWithCallback(request *QueryRobotInfoListRequest, ...) <-chan int
- func (client *Client) QueryRobotInfoListWithChan(request *QueryRobotInfoListRequest) (<-chan *QueryRobotInfoListResponse, <-chan error)
- func (client *Client) QueryRobotTaskCallDetail(request *QueryRobotTaskCallDetailRequest) (response *QueryRobotTaskCallDetailResponse, err error)
- func (client *Client) QueryRobotTaskCallDetailWithCallback(request *QueryRobotTaskCallDetailRequest, ...) <-chan int
- func (client *Client) QueryRobotTaskCallDetailWithChan(request *QueryRobotTaskCallDetailRequest) (<-chan *QueryRobotTaskCallDetailResponse, <-chan error)
- func (client *Client) QueryRobotTaskCallList(request *QueryRobotTaskCallListRequest) (response *QueryRobotTaskCallListResponse, err error)
- func (client *Client) QueryRobotTaskCallListWithCallback(request *QueryRobotTaskCallListRequest, ...) <-chan int
- func (client *Client) QueryRobotTaskCallListWithChan(request *QueryRobotTaskCallListRequest) (<-chan *QueryRobotTaskCallListResponse, <-chan error)
- func (client *Client) QueryRobotTaskDetail(request *QueryRobotTaskDetailRequest) (response *QueryRobotTaskDetailResponse, err error)
- func (client *Client) QueryRobotTaskDetailWithCallback(request *QueryRobotTaskDetailRequest, ...) <-chan int
- func (client *Client) QueryRobotTaskDetailWithChan(request *QueryRobotTaskDetailRequest) (<-chan *QueryRobotTaskDetailResponse, <-chan error)
- func (client *Client) QueryRobotTaskList(request *QueryRobotTaskListRequest) (response *QueryRobotTaskListResponse, err error)
- func (client *Client) QueryRobotTaskListWithCallback(request *QueryRobotTaskListRequest, ...) <-chan int
- func (client *Client) QueryRobotTaskListWithChan(request *QueryRobotTaskListRequest) (<-chan *QueryRobotTaskListResponse, <-chan error)
- func (client *Client) QueryRobotv2AllList(request *QueryRobotv2AllListRequest) (response *QueryRobotv2AllListResponse, err error)
- func (client *Client) QueryRobotv2AllListWithCallback(request *QueryRobotv2AllListRequest, ...) <-chan int
- func (client *Client) QueryRobotv2AllListWithChan(request *QueryRobotv2AllListRequest) (<-chan *QueryRobotv2AllListResponse, <-chan error)
- func (client *Client) QueryVoipNumberBindInfos(request *QueryVoipNumberBindInfosRequest) (response *QueryVoipNumberBindInfosResponse, err error)
- func (client *Client) QueryVoipNumberBindInfosWithCallback(request *QueryVoipNumberBindInfosRequest, ...) <-chan int
- func (client *Client) QueryVoipNumberBindInfosWithChan(request *QueryVoipNumberBindInfosRequest) (<-chan *QueryVoipNumberBindInfosResponse, <-chan error)
- func (client *Client) ReportVoipProblems(request *ReportVoipProblemsRequest) (response *ReportVoipProblemsResponse, err error)
- func (client *Client) ReportVoipProblemsWithCallback(request *ReportVoipProblemsRequest, ...) <-chan int
- func (client *Client) ReportVoipProblemsWithChan(request *ReportVoipProblemsRequest) (<-chan *ReportVoipProblemsResponse, <-chan error)
- func (client *Client) SingleCallByTts(request *SingleCallByTtsRequest) (response *SingleCallByTtsResponse, err error)
- func (client *Client) SingleCallByTtsWithCallback(request *SingleCallByTtsRequest, ...) <-chan int
- func (client *Client) SingleCallByTtsWithChan(request *SingleCallByTtsRequest) (<-chan *SingleCallByTtsResponse, <-chan error)
- func (client *Client) SingleCallByVoice(request *SingleCallByVoiceRequest) (response *SingleCallByVoiceResponse, err error)
- func (client *Client) SingleCallByVoiceWithCallback(request *SingleCallByVoiceRequest, ...) <-chan int
- func (client *Client) SingleCallByVoiceWithChan(request *SingleCallByVoiceRequest) (<-chan *SingleCallByVoiceResponse, <-chan error)
- func (client *Client) SmartCall(request *SmartCallRequest) (response *SmartCallResponse, err error)
- func (client *Client) SmartCallOperate(request *SmartCallOperateRequest) (response *SmartCallOperateResponse, err error)
- func (client *Client) SmartCallOperateWithCallback(request *SmartCallOperateRequest, ...) <-chan int
- func (client *Client) SmartCallOperateWithChan(request *SmartCallOperateRequest) (<-chan *SmartCallOperateResponse, <-chan error)
- func (client *Client) SmartCallWithCallback(request *SmartCallRequest, ...) <-chan int
- func (client *Client) SmartCallWithChan(request *SmartCallRequest) (<-chan *SmartCallResponse, <-chan error)
- func (client *Client) StartRobotTask(request *StartRobotTaskRequest) (response *StartRobotTaskResponse, err error)
- func (client *Client) StartRobotTaskWithCallback(request *StartRobotTaskRequest, ...) <-chan int
- func (client *Client) StartRobotTaskWithChan(request *StartRobotTaskRequest) (<-chan *StartRobotTaskResponse, <-chan error)
- func (client *Client) StopRobotTask(request *StopRobotTaskRequest) (response *StopRobotTaskResponse, err error)
- func (client *Client) StopRobotTaskWithCallback(request *StopRobotTaskRequest, ...) <-chan int
- func (client *Client) StopRobotTaskWithChan(request *StopRobotTaskRequest) (<-chan *StopRobotTaskResponse, <-chan error)
- func (client *Client) UnbindNumberAndVoipId(request *UnbindNumberAndVoipIdRequest) (response *UnbindNumberAndVoipIdResponse, err error)
- func (client *Client) UnbindNumberAndVoipIdWithCallback(request *UnbindNumberAndVoipIdRequest, ...) <-chan int
- func (client *Client) UnbindNumberAndVoipIdWithChan(request *UnbindNumberAndVoipIdRequest) (<-chan *UnbindNumberAndVoipIdResponse, <-chan error)
- func (client *Client) UploadRobotTaskCalledFile(request *UploadRobotTaskCalledFileRequest) (response *UploadRobotTaskCalledFileResponse, err error)
- func (client *Client) UploadRobotTaskCalledFileWithCallback(request *UploadRobotTaskCalledFileRequest, ...) <-chan int
- func (client *Client) UploadRobotTaskCalledFileWithChan(request *UploadRobotTaskCalledFileRequest) (<-chan *UploadRobotTaskCalledFileResponse, <-chan error)
- func (client *Client) VoipAddAccount(request *VoipAddAccountRequest) (response *VoipAddAccountResponse, err error)
- func (client *Client) VoipAddAccountWithCallback(request *VoipAddAccountRequest, ...) <-chan int
- func (client *Client) VoipAddAccountWithChan(request *VoipAddAccountRequest) (<-chan *VoipAddAccountResponse, <-chan error)
- func (client *Client) VoipGetToken(request *VoipGetTokenRequest) (response *VoipGetTokenResponse, err error)
- func (client *Client) VoipGetTokenWithCallback(request *VoipGetTokenRequest, ...) <-chan int
- func (client *Client) VoipGetTokenWithChan(request *VoipGetTokenRequest) (<-chan *VoipGetTokenResponse, <-chan error)
- type CreateRobotTaskRequest
- type CreateRobotTaskResponse
- type DeleteRobotTaskRequest
- type DeleteRobotTaskResponse
- type GetRtcTokenRequest
- type GetRtcTokenResponse
- type IvrCallMenuKeyMap
- type IvrCallRequest
- type IvrCallResponse
- type QueryCallDetailByCallIdRequest
- type QueryCallDetailByCallIdResponse
- type QueryCallDetailByTaskIdRequest
- type QueryCallDetailByTaskIdResponse
- type QueryRobotInfoListRequest
- type QueryRobotInfoListResponse
- type QueryRobotTaskCallDetailRequest
- type QueryRobotTaskCallDetailResponse
- type QueryRobotTaskCallListRequest
- type QueryRobotTaskCallListResponse
- type QueryRobotTaskDetailRequest
- type QueryRobotTaskDetailResponse
- type QueryRobotTaskListRequest
- type QueryRobotTaskListResponse
- type QueryRobotv2AllListRequest
- type QueryRobotv2AllListResponse
- type QueryVoipNumberBindInfosRequest
- type QueryVoipNumberBindInfosResponse
- type ReportVoipProblemsRequest
- type ReportVoipProblemsResponse
- type SingleCallByTtsRequest
- type SingleCallByTtsResponse
- type SingleCallByVoiceRequest
- type SingleCallByVoiceResponse
- type SmartCallOperateRequest
- type SmartCallOperateResponse
- type SmartCallRequest
- type SmartCallResponse
- type StartRobotTaskRequest
- type StartRobotTaskResponse
- type StopRobotTaskRequest
- type StopRobotTaskResponse
- type UnbindNumberAndVoipIdRequest
- type UnbindNumberAndVoipIdResponse
- type UploadRobotTaskCalledFileRequest
- type UploadRobotTaskCalledFileResponse
- type VoipAddAccountRequest
- type VoipAddAccountResponse
- type VoipGetTokenRequest
- type VoipGetTokenResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AddRtcAccountRequest ¶
type AddRtcAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DeviceId string `position:"Query" name:"DeviceId"` }
AddRtcAccountRequest is the request struct for api AddRtcAccount
func CreateAddRtcAccountRequest ¶
func CreateAddRtcAccountRequest() (request *AddRtcAccountRequest)
CreateAddRtcAccountRequest creates a request to invoke AddRtcAccount API
type AddRtcAccountResponse ¶
type AddRtcAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Module string `json:"Module" xml:"Module"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
AddRtcAccountResponse is the response struct for api AddRtcAccount
func CreateAddRtcAccountResponse ¶
func CreateAddRtcAccountResponse() (response *AddRtcAccountResponse)
CreateAddRtcAccountResponse creates a response to parse from AddRtcAccount response
type BatchRobotSmartCallRequest ¶
type BatchRobotSmartCallRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` EarlyMediaAsr requests.Boolean `position:"Query" name:"EarlyMediaAsr"` TtsParamHead string `position:"Query" name:"TtsParamHead"` TaskName string `position:"Query" name:"TaskName"` TtsParam string `position:"Query" name:"TtsParam"` CalledNumber string `position:"Query" name:"CalledNumber"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` IsSelfLine requests.Boolean `position:"Query" name:"IsSelfLine"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DialogId string `position:"Query" name:"DialogId"` ScheduleTime requests.Integer `position:"Query" name:"ScheduleTime"` CorpName string `position:"Query" name:"CorpName"` ScheduleCall requests.Boolean `position:"Query" name:"ScheduleCall"` }
BatchRobotSmartCallRequest is the request struct for api BatchRobotSmartCall
func CreateBatchRobotSmartCallRequest ¶
func CreateBatchRobotSmartCallRequest() (request *BatchRobotSmartCallRequest)
CreateBatchRobotSmartCallRequest creates a request to invoke BatchRobotSmartCall API
type BatchRobotSmartCallResponse ¶
type BatchRobotSmartCallResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
BatchRobotSmartCallResponse is the response struct for api BatchRobotSmartCall
func CreateBatchRobotSmartCallResponse ¶
func CreateBatchRobotSmartCallResponse() (response *BatchRobotSmartCallResponse)
CreateBatchRobotSmartCallResponse creates a response to parse from BatchRobotSmartCall response
type BindNumberAndVoipIdRequest ¶
type BindNumberAndVoipIdRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` VoipId string `position:"Query" name:"VoipId"` }
BindNumberAndVoipIdRequest is the request struct for api BindNumberAndVoipId
func CreateBindNumberAndVoipIdRequest ¶
func CreateBindNumberAndVoipIdRequest() (request *BindNumberAndVoipIdRequest)
CreateBindNumberAndVoipIdRequest creates a request to invoke BindNumberAndVoipId API
type BindNumberAndVoipIdResponse ¶
type BindNumberAndVoipIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Module string `json:"Module" xml:"Module"` Message string `json:"Message" xml:"Message"` }
BindNumberAndVoipIdResponse is the response struct for api BindNumberAndVoipId
func CreateBindNumberAndVoipIdResponse ¶
func CreateBindNumberAndVoipIdResponse() (response *BindNumberAndVoipIdResponse)
CreateBindNumberAndVoipIdResponse creates a response to parse from BindNumberAndVoipId response
type CancelCallRequest ¶
type CancelCallRequest struct { *requests.RpcRequest CallId string `position:"Query" name:"CallId"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
CancelCallRequest is the request struct for api CancelCall
func CreateCancelCallRequest ¶
func CreateCancelCallRequest() (request *CancelCallRequest)
CreateCancelCallRequest creates a request to invoke CancelCall API
type CancelCallResponse ¶
type CancelCallResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Status bool `json:"Status" xml:"Status"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
CancelCallResponse is the response struct for api CancelCall
func CreateCancelCallResponse ¶
func CreateCancelCallResponse() (response *CancelCallResponse)
CreateCancelCallResponse creates a response to parse from CancelCall response
type CancelOrderRobotTaskRequest ¶
type CancelOrderRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TaskId requests.Integer `position:"Query" name:"TaskId"` }
CancelOrderRobotTaskRequest is the request struct for api CancelOrderRobotTask
func CreateCancelOrderRobotTaskRequest ¶
func CreateCancelOrderRobotTaskRequest() (request *CancelOrderRobotTaskRequest)
CreateCancelOrderRobotTaskRequest creates a request to invoke CancelOrderRobotTask API
type CancelOrderRobotTaskResponse ¶
type CancelOrderRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
CancelOrderRobotTaskResponse is the response struct for api CancelOrderRobotTask
func CreateCancelOrderRobotTaskResponse ¶
func CreateCancelOrderRobotTaskResponse() (response *CancelOrderRobotTaskResponse)
CreateCancelOrderRobotTaskResponse creates a response to parse from CancelOrderRobotTask response
type CancelRobotTaskRequest ¶
type CancelRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TaskId requests.Integer `position:"Query" name:"TaskId"` }
CancelRobotTaskRequest is the request struct for api CancelRobotTask
func CreateCancelRobotTaskRequest ¶
func CreateCancelRobotTaskRequest() (request *CancelRobotTaskRequest)
CreateCancelRobotTaskRequest creates a request to invoke CancelRobotTask API
type CancelRobotTaskResponse ¶
type CancelRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
CancelRobotTaskResponse is the response struct for api CancelRobotTask
func CreateCancelRobotTaskResponse ¶
func CreateCancelRobotTaskResponse() (response *CancelRobotTaskResponse)
CreateCancelRobotTaskResponse creates a response to parse from CancelRobotTask response
type ClickToDialRequest ¶
type ClickToDialRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` CallerShowNumber string `position:"Query" name:"CallerShowNumber"` SessionTimeout requests.Integer `position:"Query" name:"SessionTimeout"` CalledNumber string `position:"Query" name:"CalledNumber"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` AsrFlag requests.Boolean `position:"Query" name:"AsrFlag"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` RecordFlag requests.Boolean `position:"Query" name:"RecordFlag"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` OutId string `position:"Query" name:"OutId"` AsrModelId string `position:"Query" name:"AsrModelId"` CallerNumber string `position:"Query" name:"CallerNumber"` }
ClickToDialRequest is the request struct for api ClickToDial
func CreateClickToDialRequest ¶
func CreateClickToDialRequest() (request *ClickToDialRequest)
CreateClickToDialRequest creates a request to invoke ClickToDial API
type ClickToDialResponse ¶
type ClickToDialResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CallId string `json:"CallId" xml:"CallId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
ClickToDialResponse is the response struct for api ClickToDial
func CreateClickToDialResponse ¶
func CreateClickToDialResponse() (response *ClickToDialResponse)
CreateClickToDialResponse creates a response to parse from ClickToDial response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AddRtcAccount ¶
func (client *Client) AddRtcAccount(request *AddRtcAccountRequest) (response *AddRtcAccountResponse, err error)
AddRtcAccount invokes the dyvmsapi.AddRtcAccount API synchronously api document: https://help.aliyun.com/api/dyvmsapi/addrtcaccount.html
func (*Client) AddRtcAccountWithCallback ¶
func (client *Client) AddRtcAccountWithCallback(request *AddRtcAccountRequest, callback func(response *AddRtcAccountResponse, err error)) <-chan int
AddRtcAccountWithCallback invokes the dyvmsapi.AddRtcAccount API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/addrtcaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AddRtcAccountWithChan ¶
func (client *Client) AddRtcAccountWithChan(request *AddRtcAccountRequest) (<-chan *AddRtcAccountResponse, <-chan error)
AddRtcAccountWithChan invokes the dyvmsapi.AddRtcAccount API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/addrtcaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BatchRobotSmartCall ¶
func (client *Client) BatchRobotSmartCall(request *BatchRobotSmartCallRequest) (response *BatchRobotSmartCallResponse, err error)
BatchRobotSmartCall invokes the dyvmsapi.BatchRobotSmartCall API synchronously api document: https://help.aliyun.com/api/dyvmsapi/batchrobotsmartcall.html
func (*Client) BatchRobotSmartCallWithCallback ¶
func (client *Client) BatchRobotSmartCallWithCallback(request *BatchRobotSmartCallRequest, callback func(response *BatchRobotSmartCallResponse, err error)) <-chan int
BatchRobotSmartCallWithCallback invokes the dyvmsapi.BatchRobotSmartCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/batchrobotsmartcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BatchRobotSmartCallWithChan ¶
func (client *Client) BatchRobotSmartCallWithChan(request *BatchRobotSmartCallRequest) (<-chan *BatchRobotSmartCallResponse, <-chan error)
BatchRobotSmartCallWithChan invokes the dyvmsapi.BatchRobotSmartCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/batchrobotsmartcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindNumberAndVoipId ¶
func (client *Client) BindNumberAndVoipId(request *BindNumberAndVoipIdRequest) (response *BindNumberAndVoipIdResponse, err error)
BindNumberAndVoipId invokes the dyvmsapi.BindNumberAndVoipId API synchronously api document: https://help.aliyun.com/api/dyvmsapi/bindnumberandvoipid.html
func (*Client) BindNumberAndVoipIdWithCallback ¶
func (client *Client) BindNumberAndVoipIdWithCallback(request *BindNumberAndVoipIdRequest, callback func(response *BindNumberAndVoipIdResponse, err error)) <-chan int
BindNumberAndVoipIdWithCallback invokes the dyvmsapi.BindNumberAndVoipId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/bindnumberandvoipid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindNumberAndVoipIdWithChan ¶
func (client *Client) BindNumberAndVoipIdWithChan(request *BindNumberAndVoipIdRequest) (<-chan *BindNumberAndVoipIdResponse, <-chan error)
BindNumberAndVoipIdWithChan invokes the dyvmsapi.BindNumberAndVoipId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/bindnumberandvoipid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelCall ¶
func (client *Client) CancelCall(request *CancelCallRequest) (response *CancelCallResponse, err error)
CancelCall invokes the dyvmsapi.CancelCall API synchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelcall.html
func (*Client) CancelCallWithCallback ¶
func (client *Client) CancelCallWithCallback(request *CancelCallRequest, callback func(response *CancelCallResponse, err error)) <-chan int
CancelCallWithCallback invokes the dyvmsapi.CancelCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelCallWithChan ¶
func (client *Client) CancelCallWithChan(request *CancelCallRequest) (<-chan *CancelCallResponse, <-chan error)
CancelCallWithChan invokes the dyvmsapi.CancelCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelOrderRobotTask ¶
func (client *Client) CancelOrderRobotTask(request *CancelOrderRobotTaskRequest) (response *CancelOrderRobotTaskResponse, err error)
CancelOrderRobotTask invokes the dyvmsapi.CancelOrderRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelorderrobottask.html
func (*Client) CancelOrderRobotTaskWithCallback ¶
func (client *Client) CancelOrderRobotTaskWithCallback(request *CancelOrderRobotTaskRequest, callback func(response *CancelOrderRobotTaskResponse, err error)) <-chan int
CancelOrderRobotTaskWithCallback invokes the dyvmsapi.CancelOrderRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelorderrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelOrderRobotTaskWithChan ¶
func (client *Client) CancelOrderRobotTaskWithChan(request *CancelOrderRobotTaskRequest) (<-chan *CancelOrderRobotTaskResponse, <-chan error)
CancelOrderRobotTaskWithChan invokes the dyvmsapi.CancelOrderRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelorderrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelRobotTask ¶
func (client *Client) CancelRobotTask(request *CancelRobotTaskRequest) (response *CancelRobotTaskResponse, err error)
CancelRobotTask invokes the dyvmsapi.CancelRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelrobottask.html
func (*Client) CancelRobotTaskWithCallback ¶
func (client *Client) CancelRobotTaskWithCallback(request *CancelRobotTaskRequest, callback func(response *CancelRobotTaskResponse, err error)) <-chan int
CancelRobotTaskWithCallback invokes the dyvmsapi.CancelRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelRobotTaskWithChan ¶
func (client *Client) CancelRobotTaskWithChan(request *CancelRobotTaskRequest) (<-chan *CancelRobotTaskResponse, <-chan error)
CancelRobotTaskWithChan invokes the dyvmsapi.CancelRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/cancelrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ClickToDial ¶
func (client *Client) ClickToDial(request *ClickToDialRequest) (response *ClickToDialResponse, err error)
ClickToDial invokes the dyvmsapi.ClickToDial API synchronously api document: https://help.aliyun.com/api/dyvmsapi/clicktodial.html
func (*Client) ClickToDialWithCallback ¶
func (client *Client) ClickToDialWithCallback(request *ClickToDialRequest, callback func(response *ClickToDialResponse, err error)) <-chan int
ClickToDialWithCallback invokes the dyvmsapi.ClickToDial API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/clicktodial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ClickToDialWithChan ¶
func (client *Client) ClickToDialWithChan(request *ClickToDialRequest) (<-chan *ClickToDialResponse, <-chan error)
ClickToDialWithChan invokes the dyvmsapi.ClickToDial API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/clicktodial.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateRobotTask ¶
func (client *Client) CreateRobotTask(request *CreateRobotTaskRequest) (response *CreateRobotTaskResponse, err error)
CreateRobotTask invokes the dyvmsapi.CreateRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/createrobottask.html
func (*Client) CreateRobotTaskWithCallback ¶
func (client *Client) CreateRobotTaskWithCallback(request *CreateRobotTaskRequest, callback func(response *CreateRobotTaskResponse, err error)) <-chan int
CreateRobotTaskWithCallback invokes the dyvmsapi.CreateRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/createrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateRobotTaskWithChan ¶
func (client *Client) CreateRobotTaskWithChan(request *CreateRobotTaskRequest) (<-chan *CreateRobotTaskResponse, <-chan error)
CreateRobotTaskWithChan invokes the dyvmsapi.CreateRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/createrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteRobotTask ¶
func (client *Client) DeleteRobotTask(request *DeleteRobotTaskRequest) (response *DeleteRobotTaskResponse, err error)
DeleteRobotTask invokes the dyvmsapi.DeleteRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/deleterobottask.html
func (*Client) DeleteRobotTaskWithCallback ¶
func (client *Client) DeleteRobotTaskWithCallback(request *DeleteRobotTaskRequest, callback func(response *DeleteRobotTaskResponse, err error)) <-chan int
DeleteRobotTaskWithCallback invokes the dyvmsapi.DeleteRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/deleterobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteRobotTaskWithChan ¶
func (client *Client) DeleteRobotTaskWithChan(request *DeleteRobotTaskRequest) (<-chan *DeleteRobotTaskResponse, <-chan error)
DeleteRobotTaskWithChan invokes the dyvmsapi.DeleteRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/deleterobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetRtcToken ¶
func (client *Client) GetRtcToken(request *GetRtcTokenRequest) (response *GetRtcTokenResponse, err error)
GetRtcToken invokes the dyvmsapi.GetRtcToken API synchronously api document: https://help.aliyun.com/api/dyvmsapi/getrtctoken.html
func (*Client) GetRtcTokenWithCallback ¶
func (client *Client) GetRtcTokenWithCallback(request *GetRtcTokenRequest, callback func(response *GetRtcTokenResponse, err error)) <-chan int
GetRtcTokenWithCallback invokes the dyvmsapi.GetRtcToken API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/getrtctoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetRtcTokenWithChan ¶
func (client *Client) GetRtcTokenWithChan(request *GetRtcTokenRequest) (<-chan *GetRtcTokenResponse, <-chan error)
GetRtcTokenWithChan invokes the dyvmsapi.GetRtcToken API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/getrtctoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) IvrCall ¶
func (client *Client) IvrCall(request *IvrCallRequest) (response *IvrCallResponse, err error)
IvrCall invokes the dyvmsapi.IvrCall API synchronously api document: https://help.aliyun.com/api/dyvmsapi/ivrcall.html
func (*Client) IvrCallWithCallback ¶
func (client *Client) IvrCallWithCallback(request *IvrCallRequest, callback func(response *IvrCallResponse, err error)) <-chan int
IvrCallWithCallback invokes the dyvmsapi.IvrCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/ivrcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) IvrCallWithChan ¶
func (client *Client) IvrCallWithChan(request *IvrCallRequest) (<-chan *IvrCallResponse, <-chan error)
IvrCallWithChan invokes the dyvmsapi.IvrCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/ivrcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryCallDetailByCallId ¶
func (client *Client) QueryCallDetailByCallId(request *QueryCallDetailByCallIdRequest) (response *QueryCallDetailByCallIdResponse, err error)
QueryCallDetailByCallId invokes the dyvmsapi.QueryCallDetailByCallId API synchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbycallid.html
func (*Client) QueryCallDetailByCallIdWithCallback ¶
func (client *Client) QueryCallDetailByCallIdWithCallback(request *QueryCallDetailByCallIdRequest, callback func(response *QueryCallDetailByCallIdResponse, err error)) <-chan int
QueryCallDetailByCallIdWithCallback invokes the dyvmsapi.QueryCallDetailByCallId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbycallid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryCallDetailByCallIdWithChan ¶
func (client *Client) QueryCallDetailByCallIdWithChan(request *QueryCallDetailByCallIdRequest) (<-chan *QueryCallDetailByCallIdResponse, <-chan error)
QueryCallDetailByCallIdWithChan invokes the dyvmsapi.QueryCallDetailByCallId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbycallid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryCallDetailByTaskId ¶
func (client *Client) QueryCallDetailByTaskId(request *QueryCallDetailByTaskIdRequest) (response *QueryCallDetailByTaskIdResponse, err error)
QueryCallDetailByTaskId invokes the dyvmsapi.QueryCallDetailByTaskId API synchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbytaskid.html
func (*Client) QueryCallDetailByTaskIdWithCallback ¶
func (client *Client) QueryCallDetailByTaskIdWithCallback(request *QueryCallDetailByTaskIdRequest, callback func(response *QueryCallDetailByTaskIdResponse, err error)) <-chan int
QueryCallDetailByTaskIdWithCallback invokes the dyvmsapi.QueryCallDetailByTaskId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbytaskid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryCallDetailByTaskIdWithChan ¶
func (client *Client) QueryCallDetailByTaskIdWithChan(request *QueryCallDetailByTaskIdRequest) (<-chan *QueryCallDetailByTaskIdResponse, <-chan error)
QueryCallDetailByTaskIdWithChan invokes the dyvmsapi.QueryCallDetailByTaskId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/querycalldetailbytaskid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotInfoList ¶
func (client *Client) QueryRobotInfoList(request *QueryRobotInfoListRequest) (response *QueryRobotInfoListResponse, err error)
QueryRobotInfoList invokes the dyvmsapi.QueryRobotInfoList API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotinfolist.html
func (*Client) QueryRobotInfoListWithCallback ¶
func (client *Client) QueryRobotInfoListWithCallback(request *QueryRobotInfoListRequest, callback func(response *QueryRobotInfoListResponse, err error)) <-chan int
QueryRobotInfoListWithCallback invokes the dyvmsapi.QueryRobotInfoList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotinfolist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotInfoListWithChan ¶
func (client *Client) QueryRobotInfoListWithChan(request *QueryRobotInfoListRequest) (<-chan *QueryRobotInfoListResponse, <-chan error)
QueryRobotInfoListWithChan invokes the dyvmsapi.QueryRobotInfoList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotinfolist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskCallDetail ¶
func (client *Client) QueryRobotTaskCallDetail(request *QueryRobotTaskCallDetailRequest) (response *QueryRobotTaskCallDetailResponse, err error)
QueryRobotTaskCallDetail invokes the dyvmsapi.QueryRobotTaskCallDetail API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalldetail.html
func (*Client) QueryRobotTaskCallDetailWithCallback ¶
func (client *Client) QueryRobotTaskCallDetailWithCallback(request *QueryRobotTaskCallDetailRequest, callback func(response *QueryRobotTaskCallDetailResponse, err error)) <-chan int
QueryRobotTaskCallDetailWithCallback invokes the dyvmsapi.QueryRobotTaskCallDetail API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalldetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskCallDetailWithChan ¶
func (client *Client) QueryRobotTaskCallDetailWithChan(request *QueryRobotTaskCallDetailRequest) (<-chan *QueryRobotTaskCallDetailResponse, <-chan error)
QueryRobotTaskCallDetailWithChan invokes the dyvmsapi.QueryRobotTaskCallDetail API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalldetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskCallList ¶
func (client *Client) QueryRobotTaskCallList(request *QueryRobotTaskCallListRequest) (response *QueryRobotTaskCallListResponse, err error)
QueryRobotTaskCallList invokes the dyvmsapi.QueryRobotTaskCallList API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalllist.html
func (*Client) QueryRobotTaskCallListWithCallback ¶
func (client *Client) QueryRobotTaskCallListWithCallback(request *QueryRobotTaskCallListRequest, callback func(response *QueryRobotTaskCallListResponse, err error)) <-chan int
QueryRobotTaskCallListWithCallback invokes the dyvmsapi.QueryRobotTaskCallList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalllist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskCallListWithChan ¶
func (client *Client) QueryRobotTaskCallListWithChan(request *QueryRobotTaskCallListRequest) (<-chan *QueryRobotTaskCallListResponse, <-chan error)
QueryRobotTaskCallListWithChan invokes the dyvmsapi.QueryRobotTaskCallList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskcalllist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskDetail ¶
func (client *Client) QueryRobotTaskDetail(request *QueryRobotTaskDetailRequest) (response *QueryRobotTaskDetailResponse, err error)
QueryRobotTaskDetail invokes the dyvmsapi.QueryRobotTaskDetail API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskdetail.html
func (*Client) QueryRobotTaskDetailWithCallback ¶
func (client *Client) QueryRobotTaskDetailWithCallback(request *QueryRobotTaskDetailRequest, callback func(response *QueryRobotTaskDetailResponse, err error)) <-chan int
QueryRobotTaskDetailWithCallback invokes the dyvmsapi.QueryRobotTaskDetail API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskdetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskDetailWithChan ¶
func (client *Client) QueryRobotTaskDetailWithChan(request *QueryRobotTaskDetailRequest) (<-chan *QueryRobotTaskDetailResponse, <-chan error)
QueryRobotTaskDetailWithChan invokes the dyvmsapi.QueryRobotTaskDetail API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottaskdetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskList ¶
func (client *Client) QueryRobotTaskList(request *QueryRobotTaskListRequest) (response *QueryRobotTaskListResponse, err error)
QueryRobotTaskList invokes the dyvmsapi.QueryRobotTaskList API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottasklist.html
func (*Client) QueryRobotTaskListWithCallback ¶
func (client *Client) QueryRobotTaskListWithCallback(request *QueryRobotTaskListRequest, callback func(response *QueryRobotTaskListResponse, err error)) <-chan int
QueryRobotTaskListWithCallback invokes the dyvmsapi.QueryRobotTaskList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottasklist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotTaskListWithChan ¶
func (client *Client) QueryRobotTaskListWithChan(request *QueryRobotTaskListRequest) (<-chan *QueryRobotTaskListResponse, <-chan error)
QueryRobotTaskListWithChan invokes the dyvmsapi.QueryRobotTaskList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobottasklist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotv2AllList ¶
func (client *Client) QueryRobotv2AllList(request *QueryRobotv2AllListRequest) (response *QueryRobotv2AllListResponse, err error)
QueryRobotv2AllList invokes the dyvmsapi.QueryRobotv2AllList API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotv2alllist.html
func (*Client) QueryRobotv2AllListWithCallback ¶
func (client *Client) QueryRobotv2AllListWithCallback(request *QueryRobotv2AllListRequest, callback func(response *QueryRobotv2AllListResponse, err error)) <-chan int
QueryRobotv2AllListWithCallback invokes the dyvmsapi.QueryRobotv2AllList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotv2alllist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryRobotv2AllListWithChan ¶
func (client *Client) QueryRobotv2AllListWithChan(request *QueryRobotv2AllListRequest) (<-chan *QueryRobotv2AllListResponse, <-chan error)
QueryRobotv2AllListWithChan invokes the dyvmsapi.QueryRobotv2AllList API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryrobotv2alllist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryVoipNumberBindInfos ¶
func (client *Client) QueryVoipNumberBindInfos(request *QueryVoipNumberBindInfosRequest) (response *QueryVoipNumberBindInfosResponse, err error)
QueryVoipNumberBindInfos invokes the dyvmsapi.QueryVoipNumberBindInfos API synchronously api document: https://help.aliyun.com/api/dyvmsapi/queryvoipnumberbindinfos.html
func (*Client) QueryVoipNumberBindInfosWithCallback ¶
func (client *Client) QueryVoipNumberBindInfosWithCallback(request *QueryVoipNumberBindInfosRequest, callback func(response *QueryVoipNumberBindInfosResponse, err error)) <-chan int
QueryVoipNumberBindInfosWithCallback invokes the dyvmsapi.QueryVoipNumberBindInfos API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryvoipnumberbindinfos.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryVoipNumberBindInfosWithChan ¶
func (client *Client) QueryVoipNumberBindInfosWithChan(request *QueryVoipNumberBindInfosRequest) (<-chan *QueryVoipNumberBindInfosResponse, <-chan error)
QueryVoipNumberBindInfosWithChan invokes the dyvmsapi.QueryVoipNumberBindInfos API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/queryvoipnumberbindinfos.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ReportVoipProblems ¶
func (client *Client) ReportVoipProblems(request *ReportVoipProblemsRequest) (response *ReportVoipProblemsResponse, err error)
ReportVoipProblems invokes the dyvmsapi.ReportVoipProblems API synchronously api document: https://help.aliyun.com/api/dyvmsapi/reportvoipproblems.html
func (*Client) ReportVoipProblemsWithCallback ¶
func (client *Client) ReportVoipProblemsWithCallback(request *ReportVoipProblemsRequest, callback func(response *ReportVoipProblemsResponse, err error)) <-chan int
ReportVoipProblemsWithCallback invokes the dyvmsapi.ReportVoipProblems API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/reportvoipproblems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ReportVoipProblemsWithChan ¶
func (client *Client) ReportVoipProblemsWithChan(request *ReportVoipProblemsRequest) (<-chan *ReportVoipProblemsResponse, <-chan error)
ReportVoipProblemsWithChan invokes the dyvmsapi.ReportVoipProblems API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/reportvoipproblems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SingleCallByTts ¶
func (client *Client) SingleCallByTts(request *SingleCallByTtsRequest) (response *SingleCallByTtsResponse, err error)
SingleCallByTts invokes the dyvmsapi.SingleCallByTts API synchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbytts.html
func (*Client) SingleCallByTtsWithCallback ¶
func (client *Client) SingleCallByTtsWithCallback(request *SingleCallByTtsRequest, callback func(response *SingleCallByTtsResponse, err error)) <-chan int
SingleCallByTtsWithCallback invokes the dyvmsapi.SingleCallByTts API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbytts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SingleCallByTtsWithChan ¶
func (client *Client) SingleCallByTtsWithChan(request *SingleCallByTtsRequest) (<-chan *SingleCallByTtsResponse, <-chan error)
SingleCallByTtsWithChan invokes the dyvmsapi.SingleCallByTts API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbytts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SingleCallByVoice ¶
func (client *Client) SingleCallByVoice(request *SingleCallByVoiceRequest) (response *SingleCallByVoiceResponse, err error)
SingleCallByVoice invokes the dyvmsapi.SingleCallByVoice API synchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbyvoice.html
func (*Client) SingleCallByVoiceWithCallback ¶
func (client *Client) SingleCallByVoiceWithCallback(request *SingleCallByVoiceRequest, callback func(response *SingleCallByVoiceResponse, err error)) <-chan int
SingleCallByVoiceWithCallback invokes the dyvmsapi.SingleCallByVoice API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbyvoice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SingleCallByVoiceWithChan ¶
func (client *Client) SingleCallByVoiceWithChan(request *SingleCallByVoiceRequest) (<-chan *SingleCallByVoiceResponse, <-chan error)
SingleCallByVoiceWithChan invokes the dyvmsapi.SingleCallByVoice API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/singlecallbyvoice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SmartCall ¶
func (client *Client) SmartCall(request *SmartCallRequest) (response *SmartCallResponse, err error)
SmartCall invokes the dyvmsapi.SmartCall API synchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcall.html
func (*Client) SmartCallOperate ¶
func (client *Client) SmartCallOperate(request *SmartCallOperateRequest) (response *SmartCallOperateResponse, err error)
SmartCallOperate invokes the dyvmsapi.SmartCallOperate API synchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcalloperate.html
func (*Client) SmartCallOperateWithCallback ¶
func (client *Client) SmartCallOperateWithCallback(request *SmartCallOperateRequest, callback func(response *SmartCallOperateResponse, err error)) <-chan int
SmartCallOperateWithCallback invokes the dyvmsapi.SmartCallOperate API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcalloperate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SmartCallOperateWithChan ¶
func (client *Client) SmartCallOperateWithChan(request *SmartCallOperateRequest) (<-chan *SmartCallOperateResponse, <-chan error)
SmartCallOperateWithChan invokes the dyvmsapi.SmartCallOperate API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcalloperate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SmartCallWithCallback ¶
func (client *Client) SmartCallWithCallback(request *SmartCallRequest, callback func(response *SmartCallResponse, err error)) <-chan int
SmartCallWithCallback invokes the dyvmsapi.SmartCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SmartCallWithChan ¶
func (client *Client) SmartCallWithChan(request *SmartCallRequest) (<-chan *SmartCallResponse, <-chan error)
SmartCallWithChan invokes the dyvmsapi.SmartCall API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/smartcall.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) StartRobotTask ¶
func (client *Client) StartRobotTask(request *StartRobotTaskRequest) (response *StartRobotTaskResponse, err error)
StartRobotTask invokes the dyvmsapi.StartRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/startrobottask.html
func (*Client) StartRobotTaskWithCallback ¶
func (client *Client) StartRobotTaskWithCallback(request *StartRobotTaskRequest, callback func(response *StartRobotTaskResponse, err error)) <-chan int
StartRobotTaskWithCallback invokes the dyvmsapi.StartRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/startrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) StartRobotTaskWithChan ¶
func (client *Client) StartRobotTaskWithChan(request *StartRobotTaskRequest) (<-chan *StartRobotTaskResponse, <-chan error)
StartRobotTaskWithChan invokes the dyvmsapi.StartRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/startrobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) StopRobotTask ¶
func (client *Client) StopRobotTask(request *StopRobotTaskRequest) (response *StopRobotTaskResponse, err error)
StopRobotTask invokes the dyvmsapi.StopRobotTask API synchronously api document: https://help.aliyun.com/api/dyvmsapi/stoprobottask.html
func (*Client) StopRobotTaskWithCallback ¶
func (client *Client) StopRobotTaskWithCallback(request *StopRobotTaskRequest, callback func(response *StopRobotTaskResponse, err error)) <-chan int
StopRobotTaskWithCallback invokes the dyvmsapi.StopRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/stoprobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) StopRobotTaskWithChan ¶
func (client *Client) StopRobotTaskWithChan(request *StopRobotTaskRequest) (<-chan *StopRobotTaskResponse, <-chan error)
StopRobotTaskWithChan invokes the dyvmsapi.StopRobotTask API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/stoprobottask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindNumberAndVoipId ¶
func (client *Client) UnbindNumberAndVoipId(request *UnbindNumberAndVoipIdRequest) (response *UnbindNumberAndVoipIdResponse, err error)
UnbindNumberAndVoipId invokes the dyvmsapi.UnbindNumberAndVoipId API synchronously api document: https://help.aliyun.com/api/dyvmsapi/unbindnumberandvoipid.html
func (*Client) UnbindNumberAndVoipIdWithCallback ¶
func (client *Client) UnbindNumberAndVoipIdWithCallback(request *UnbindNumberAndVoipIdRequest, callback func(response *UnbindNumberAndVoipIdResponse, err error)) <-chan int
UnbindNumberAndVoipIdWithCallback invokes the dyvmsapi.UnbindNumberAndVoipId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/unbindnumberandvoipid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindNumberAndVoipIdWithChan ¶
func (client *Client) UnbindNumberAndVoipIdWithChan(request *UnbindNumberAndVoipIdRequest) (<-chan *UnbindNumberAndVoipIdResponse, <-chan error)
UnbindNumberAndVoipIdWithChan invokes the dyvmsapi.UnbindNumberAndVoipId API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/unbindnumberandvoipid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UploadRobotTaskCalledFile ¶
func (client *Client) UploadRobotTaskCalledFile(request *UploadRobotTaskCalledFileRequest) (response *UploadRobotTaskCalledFileResponse, err error)
UploadRobotTaskCalledFile invokes the dyvmsapi.UploadRobotTaskCalledFile API synchronously api document: https://help.aliyun.com/api/dyvmsapi/uploadrobottaskcalledfile.html
func (*Client) UploadRobotTaskCalledFileWithCallback ¶
func (client *Client) UploadRobotTaskCalledFileWithCallback(request *UploadRobotTaskCalledFileRequest, callback func(response *UploadRobotTaskCalledFileResponse, err error)) <-chan int
UploadRobotTaskCalledFileWithCallback invokes the dyvmsapi.UploadRobotTaskCalledFile API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/uploadrobottaskcalledfile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UploadRobotTaskCalledFileWithChan ¶
func (client *Client) UploadRobotTaskCalledFileWithChan(request *UploadRobotTaskCalledFileRequest) (<-chan *UploadRobotTaskCalledFileResponse, <-chan error)
UploadRobotTaskCalledFileWithChan invokes the dyvmsapi.UploadRobotTaskCalledFile API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/uploadrobottaskcalledfile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) VoipAddAccount ¶
func (client *Client) VoipAddAccount(request *VoipAddAccountRequest) (response *VoipAddAccountResponse, err error)
VoipAddAccount invokes the dyvmsapi.VoipAddAccount API synchronously api document: https://help.aliyun.com/api/dyvmsapi/voipaddaccount.html
func (*Client) VoipAddAccountWithCallback ¶
func (client *Client) VoipAddAccountWithCallback(request *VoipAddAccountRequest, callback func(response *VoipAddAccountResponse, err error)) <-chan int
VoipAddAccountWithCallback invokes the dyvmsapi.VoipAddAccount API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/voipaddaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) VoipAddAccountWithChan ¶
func (client *Client) VoipAddAccountWithChan(request *VoipAddAccountRequest) (<-chan *VoipAddAccountResponse, <-chan error)
VoipAddAccountWithChan invokes the dyvmsapi.VoipAddAccount API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/voipaddaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) VoipGetToken ¶
func (client *Client) VoipGetToken(request *VoipGetTokenRequest) (response *VoipGetTokenResponse, err error)
VoipGetToken invokes the dyvmsapi.VoipGetToken API synchronously api document: https://help.aliyun.com/api/dyvmsapi/voipgettoken.html
func (*Client) VoipGetTokenWithCallback ¶
func (client *Client) VoipGetTokenWithCallback(request *VoipGetTokenRequest, callback func(response *VoipGetTokenResponse, err error)) <-chan int
VoipGetTokenWithCallback invokes the dyvmsapi.VoipGetToken API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/voipgettoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) VoipGetTokenWithChan ¶
func (client *Client) VoipGetTokenWithChan(request *VoipGetTokenRequest) (<-chan *VoipGetTokenResponse, <-chan error)
VoipGetTokenWithChan invokes the dyvmsapi.VoipGetToken API asynchronously api document: https://help.aliyun.com/api/dyvmsapi/voipgettoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CreateRobotTaskRequest ¶
type CreateRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RecallStateCodes string `position:"Query" name:"RecallStateCodes"` TaskName string `position:"Query" name:"TaskName"` RecallTimes requests.Integer `position:"Query" name:"RecallTimes"` IsSelfLine requests.Boolean `position:"Query" name:"IsSelfLine"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` RetryType requests.Integer `position:"Query" name:"RetryType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DialogId requests.Integer `position:"Query" name:"DialogId"` Caller string `position:"Query" name:"Caller"` NumberStatusIdent requests.Boolean `position:"Query" name:"NumberStatusIdent"` CorpName string `position:"Query" name:"CorpName"` RecallInterval requests.Integer `position:"Query" name:"RecallInterval"` }
CreateRobotTaskRequest is the request struct for api CreateRobotTask
func CreateCreateRobotTaskRequest ¶
func CreateCreateRobotTaskRequest() (request *CreateRobotTaskRequest)
CreateCreateRobotTaskRequest creates a request to invoke CreateRobotTask API
type CreateRobotTaskResponse ¶
type CreateRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
CreateRobotTaskResponse is the response struct for api CreateRobotTask
func CreateCreateRobotTaskResponse ¶
func CreateCreateRobotTaskResponse() (response *CreateRobotTaskResponse)
CreateCreateRobotTaskResponse creates a response to parse from CreateRobotTask response
type DeleteRobotTaskRequest ¶
type DeleteRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TaskId requests.Integer `position:"Query" name:"TaskId"` }
DeleteRobotTaskRequest is the request struct for api DeleteRobotTask
func CreateDeleteRobotTaskRequest ¶
func CreateDeleteRobotTaskRequest() (request *DeleteRobotTaskRequest)
CreateDeleteRobotTaskRequest creates a request to invoke DeleteRobotTask API
type DeleteRobotTaskResponse ¶
type DeleteRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
DeleteRobotTaskResponse is the response struct for api DeleteRobotTask
func CreateDeleteRobotTaskResponse ¶
func CreateDeleteRobotTaskResponse() (response *DeleteRobotTaskResponse)
CreateDeleteRobotTaskResponse creates a response to parse from DeleteRobotTask response
type GetRtcTokenRequest ¶
type GetRtcTokenRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` UserId string `position:"Query" name:"UserId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DeviceId string `position:"Query" name:"DeviceId"` IsCustomAccount requests.Boolean `position:"Query" name:"IsCustomAccount"` }
GetRtcTokenRequest is the request struct for api GetRtcToken
func CreateGetRtcTokenRequest ¶
func CreateGetRtcTokenRequest() (request *GetRtcTokenRequest)
CreateGetRtcTokenRequest creates a request to invoke GetRtcToken API
type GetRtcTokenResponse ¶
type GetRtcTokenResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Module string `json:"Module" xml:"Module"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
GetRtcTokenResponse is the response struct for api GetRtcToken
func CreateGetRtcTokenResponse ¶
func CreateGetRtcTokenResponse() (response *GetRtcTokenResponse)
CreateGetRtcTokenResponse creates a response to parse from GetRtcToken response
type IvrCallMenuKeyMap ¶
type IvrCallMenuKeyMap struct { Code string `name:"Code"` TtsParams string `name:"TtsParams"` Key string `name:"Key"` }
IvrCallMenuKeyMap is a repeated param struct in IvrCallRequest
type IvrCallRequest ¶
type IvrCallRequest struct { *requests.RpcRequest ByeCode string `position:"Query" name:"ByeCode"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` StartTtsParams string `position:"Query" name:"StartTtsParams"` Timeout requests.Integer `position:"Query" name:"Timeout"` StartCode string `position:"Query" name:"StartCode"` CalledNumber string `position:"Query" name:"CalledNumber"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` MenuKeyMap *[]IvrCallMenuKeyMap `position:"Query" name:"MenuKeyMap" type:"Repeated"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PlayTimes requests.Integer `position:"Query" name:"PlayTimes"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` OutId string `position:"Query" name:"OutId"` ByeTtsParams string `position:"Query" name:"ByeTtsParams"` }
IvrCallRequest is the request struct for api IvrCall
func CreateIvrCallRequest ¶
func CreateIvrCallRequest() (request *IvrCallRequest)
CreateIvrCallRequest creates a request to invoke IvrCall API
type IvrCallResponse ¶
type IvrCallResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CallId string `json:"CallId" xml:"CallId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
IvrCallResponse is the response struct for api IvrCall
func CreateIvrCallResponse ¶
func CreateIvrCallResponse() (response *IvrCallResponse)
CreateIvrCallResponse creates a response to parse from IvrCall response
type QueryCallDetailByCallIdRequest ¶
type QueryCallDetailByCallIdRequest struct { *requests.RpcRequest CallId string `position:"Query" name:"CallId"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` QueryDate requests.Integer `position:"Query" name:"QueryDate"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ProdId requests.Integer `position:"Query" name:"ProdId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
QueryCallDetailByCallIdRequest is the request struct for api QueryCallDetailByCallId
func CreateQueryCallDetailByCallIdRequest ¶
func CreateQueryCallDetailByCallIdRequest() (request *QueryCallDetailByCallIdRequest)
CreateQueryCallDetailByCallIdRequest creates a request to invoke QueryCallDetailByCallId API
type QueryCallDetailByCallIdResponse ¶
type QueryCallDetailByCallIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryCallDetailByCallIdResponse is the response struct for api QueryCallDetailByCallId
func CreateQueryCallDetailByCallIdResponse ¶
func CreateQueryCallDetailByCallIdResponse() (response *QueryCallDetailByCallIdResponse)
CreateQueryCallDetailByCallIdResponse creates a response to parse from QueryCallDetailByCallId response
type QueryCallDetailByTaskIdRequest ¶
type QueryCallDetailByTaskIdRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Callee string `position:"Query" name:"Callee"` TaskId string `position:"Query" name:"TaskId"` QueryDate requests.Integer `position:"Query" name:"QueryDate"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
QueryCallDetailByTaskIdRequest is the request struct for api QueryCallDetailByTaskId
func CreateQueryCallDetailByTaskIdRequest ¶
func CreateQueryCallDetailByTaskIdRequest() (request *QueryCallDetailByTaskIdRequest)
CreateQueryCallDetailByTaskIdRequest creates a request to invoke QueryCallDetailByTaskId API
type QueryCallDetailByTaskIdResponse ¶
type QueryCallDetailByTaskIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryCallDetailByTaskIdResponse is the response struct for api QueryCallDetailByTaskId
func CreateQueryCallDetailByTaskIdResponse ¶
func CreateQueryCallDetailByTaskIdResponse() (response *QueryCallDetailByTaskIdResponse)
CreateQueryCallDetailByTaskIdResponse creates a response to parse from QueryCallDetailByTaskId response
type QueryRobotInfoListRequest ¶
type QueryRobotInfoListRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AuditStatus string `position:"Query" name:"AuditStatus"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
QueryRobotInfoListRequest is the request struct for api QueryRobotInfoList
func CreateQueryRobotInfoListRequest ¶
func CreateQueryRobotInfoListRequest() (request *QueryRobotInfoListRequest)
CreateQueryRobotInfoListRequest creates a request to invoke QueryRobotInfoList API
type QueryRobotInfoListResponse ¶
type QueryRobotInfoListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotInfoListResponse is the response struct for api QueryRobotInfoList
func CreateQueryRobotInfoListResponse ¶
func CreateQueryRobotInfoListResponse() (response *QueryRobotInfoListResponse)
CreateQueryRobotInfoListResponse creates a response to parse from QueryRobotInfoList response
type QueryRobotTaskCallDetailRequest ¶
type QueryRobotTaskCallDetailRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Callee string `position:"Query" name:"Callee"` TaskId requests.Integer `position:"Query" name:"TaskId"` QueryDate requests.Integer `position:"Query" name:"QueryDate"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
QueryRobotTaskCallDetailRequest is the request struct for api QueryRobotTaskCallDetail
func CreateQueryRobotTaskCallDetailRequest ¶
func CreateQueryRobotTaskCallDetailRequest() (request *QueryRobotTaskCallDetailRequest)
CreateQueryRobotTaskCallDetailRequest creates a request to invoke QueryRobotTaskCallDetail API
type QueryRobotTaskCallDetailResponse ¶
type QueryRobotTaskCallDetailResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotTaskCallDetailResponse is the response struct for api QueryRobotTaskCallDetail
func CreateQueryRobotTaskCallDetailResponse ¶
func CreateQueryRobotTaskCallDetailResponse() (response *QueryRobotTaskCallDetailResponse)
CreateQueryRobotTaskCallDetailResponse creates a response to parse from QueryRobotTaskCallDetail response
type QueryRobotTaskCallListRequest ¶
type QueryRobotTaskCallListRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Called string `position:"Query" name:"Called"` DialogCountTo string `position:"Query" name:"DialogCountTo"` DurationFrom string `position:"Query" name:"DurationFrom"` PageSize requests.Integer `position:"Query" name:"PageSize"` TaskId string `position:"Query" name:"TaskId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DialogCountFrom string `position:"Query" name:"DialogCountFrom"` DurationTo string `position:"Query" name:"DurationTo"` HangupDirection string `position:"Query" name:"HangupDirection"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNo requests.Integer `position:"Query" name:"PageNo"` CallResult string `position:"Query" name:"CallResult"` }
QueryRobotTaskCallListRequest is the request struct for api QueryRobotTaskCallList
func CreateQueryRobotTaskCallListRequest ¶
func CreateQueryRobotTaskCallListRequest() (request *QueryRobotTaskCallListRequest)
CreateQueryRobotTaskCallListRequest creates a request to invoke QueryRobotTaskCallList API
type QueryRobotTaskCallListResponse ¶
type QueryRobotTaskCallListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotTaskCallListResponse is the response struct for api QueryRobotTaskCallList
func CreateQueryRobotTaskCallListResponse ¶
func CreateQueryRobotTaskCallListResponse() (response *QueryRobotTaskCallListResponse)
CreateQueryRobotTaskCallListResponse creates a response to parse from QueryRobotTaskCallList response
type QueryRobotTaskDetailRequest ¶
type QueryRobotTaskDetailRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Id requests.Integer `position:"Query" name:"Id"` }
QueryRobotTaskDetailRequest is the request struct for api QueryRobotTaskDetail
func CreateQueryRobotTaskDetailRequest ¶
func CreateQueryRobotTaskDetailRequest() (request *QueryRobotTaskDetailRequest)
CreateQueryRobotTaskDetailRequest creates a request to invoke QueryRobotTaskDetail API
type QueryRobotTaskDetailResponse ¶
type QueryRobotTaskDetailResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotTaskDetailResponse is the response struct for api QueryRobotTaskDetail
func CreateQueryRobotTaskDetailResponse ¶
func CreateQueryRobotTaskDetailResponse() (response *QueryRobotTaskDetailResponse)
CreateQueryRobotTaskDetailResponse creates a response to parse from QueryRobotTaskDetail response
type QueryRobotTaskListRequest ¶
type QueryRobotTaskListRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` TaskName string `position:"Query" name:"TaskName"` PageSize requests.Integer `position:"Query" name:"PageSize"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNo requests.Integer `position:"Query" name:"PageNo"` Time string `position:"Query" name:"Time"` Status string `position:"Query" name:"Status"` }
QueryRobotTaskListRequest is the request struct for api QueryRobotTaskList
func CreateQueryRobotTaskListRequest ¶
func CreateQueryRobotTaskListRequest() (request *QueryRobotTaskListRequest)
CreateQueryRobotTaskListRequest creates a request to invoke QueryRobotTaskList API
type QueryRobotTaskListResponse ¶
type QueryRobotTaskListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotTaskListResponse is the response struct for api QueryRobotTaskList
func CreateQueryRobotTaskListResponse ¶
func CreateQueryRobotTaskListResponse() (response *QueryRobotTaskListResponse)
CreateQueryRobotTaskListResponse creates a response to parse from QueryRobotTaskList response
type QueryRobotv2AllListRequest ¶
type QueryRobotv2AllListRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
QueryRobotv2AllListRequest is the request struct for api QueryRobotv2AllList
func CreateQueryRobotv2AllListRequest ¶
func CreateQueryRobotv2AllListRequest() (request *QueryRobotv2AllListRequest)
CreateQueryRobotv2AllListRequest creates a request to invoke QueryRobotv2AllList API
type QueryRobotv2AllListResponse ¶
type QueryRobotv2AllListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryRobotv2AllListResponse is the response struct for api QueryRobotv2AllList
func CreateQueryRobotv2AllListResponse ¶
func CreateQueryRobotv2AllListResponse() (response *QueryRobotv2AllListResponse)
CreateQueryRobotv2AllListResponse creates a response to parse from QueryRobotv2AllList response
type QueryVoipNumberBindInfosRequest ¶
type QueryVoipNumberBindInfosRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` VoipId string `position:"Query" name:"VoipId"` }
QueryVoipNumberBindInfosRequest is the request struct for api QueryVoipNumberBindInfos
func CreateQueryVoipNumberBindInfosRequest ¶
func CreateQueryVoipNumberBindInfosRequest() (request *QueryVoipNumberBindInfosRequest)
CreateQueryVoipNumberBindInfosRequest creates a request to invoke QueryVoipNumberBindInfos API
type QueryVoipNumberBindInfosResponse ¶
type QueryVoipNumberBindInfosResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Module string `json:"Module" xml:"Module"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
QueryVoipNumberBindInfosResponse is the response struct for api QueryVoipNumberBindInfos
func CreateQueryVoipNumberBindInfosResponse ¶
func CreateQueryVoipNumberBindInfosResponse() (response *QueryVoipNumberBindInfosResponse)
CreateQueryVoipNumberBindInfosResponse creates a response to parse from QueryVoipNumberBindInfos response
type ReportVoipProblemsRequest ¶
type ReportVoipProblemsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Title string `position:"Query" name:"Title"` VoipId string `position:"Query" name:"VoipId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ChannelId string `position:"Query" name:"ChannelId"` Desc string `position:"Query" name:"Desc"` }
ReportVoipProblemsRequest is the request struct for api ReportVoipProblems
func CreateReportVoipProblemsRequest ¶
func CreateReportVoipProblemsRequest() (request *ReportVoipProblemsRequest)
CreateReportVoipProblemsRequest creates a request to invoke ReportVoipProblems API
type ReportVoipProblemsResponse ¶
type ReportVoipProblemsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Module string `json:"Module" xml:"Module"` Message string `json:"Message" xml:"Message"` }
ReportVoipProblemsResponse is the response struct for api ReportVoipProblems
func CreateReportVoipProblemsResponse ¶
func CreateReportVoipProblemsResponse() (response *ReportVoipProblemsResponse)
CreateReportVoipProblemsResponse creates a response to parse from ReportVoipProblems response
type SingleCallByTtsRequest ¶
type SingleCallByTtsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` TtsParam string `position:"Query" name:"TtsParam"` Speed requests.Integer `position:"Query" name:"Speed"` CalledNumber string `position:"Query" name:"CalledNumber"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` TtsCode string `position:"Query" name:"TtsCode"` PlayTimes requests.Integer `position:"Query" name:"PlayTimes"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Volume requests.Integer `position:"Query" name:"Volume"` OutId string `position:"Query" name:"OutId"` }
SingleCallByTtsRequest is the request struct for api SingleCallByTts
func CreateSingleCallByTtsRequest ¶
func CreateSingleCallByTtsRequest() (request *SingleCallByTtsRequest)
CreateSingleCallByTtsRequest creates a request to invoke SingleCallByTts API
type SingleCallByTtsResponse ¶
type SingleCallByTtsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CallId string `json:"CallId" xml:"CallId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
SingleCallByTtsResponse is the response struct for api SingleCallByTts
func CreateSingleCallByTtsResponse ¶
func CreateSingleCallByTtsResponse() (response *SingleCallByTtsResponse)
CreateSingleCallByTtsResponse creates a response to parse from SingleCallByTts response
type SingleCallByVoiceRequest ¶
type SingleCallByVoiceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Speed requests.Integer `position:"Query" name:"Speed"` CalledNumber string `position:"Query" name:"CalledNumber"` VoiceCode string `position:"Query" name:"VoiceCode"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PlayTimes requests.Integer `position:"Query" name:"PlayTimes"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Volume requests.Integer `position:"Query" name:"Volume"` OutId string `position:"Query" name:"OutId"` }
SingleCallByVoiceRequest is the request struct for api SingleCallByVoice
func CreateSingleCallByVoiceRequest ¶
func CreateSingleCallByVoiceRequest() (request *SingleCallByVoiceRequest)
CreateSingleCallByVoiceRequest creates a request to invoke SingleCallByVoice API
type SingleCallByVoiceResponse ¶
type SingleCallByVoiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CallId string `json:"CallId" xml:"CallId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
SingleCallByVoiceResponse is the response struct for api SingleCallByVoice
func CreateSingleCallByVoiceResponse ¶
func CreateSingleCallByVoiceResponse() (response *SingleCallByVoiceResponse)
CreateSingleCallByVoiceResponse creates a response to parse from SingleCallByVoice response
type SmartCallOperateRequest ¶
type SmartCallOperateRequest struct { *requests.RpcRequest CallId string `position:"Query" name:"CallId"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Param string `position:"Query" name:"Param"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Command string `position:"Query" name:"Command"` }
SmartCallOperateRequest is the request struct for api SmartCallOperate
func CreateSmartCallOperateRequest ¶
func CreateSmartCallOperateRequest() (request *SmartCallOperateRequest)
CreateSmartCallOperateRequest creates a request to invoke SmartCallOperate API
type SmartCallOperateResponse ¶
type SmartCallOperateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Status bool `json:"Status" xml:"Status"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
SmartCallOperateResponse is the response struct for api SmartCallOperate
func CreateSmartCallOperateResponse ¶
func CreateSmartCallOperateResponse() (response *SmartCallOperateResponse)
CreateSmartCallOperateResponse creates a response to parse from SmartCallOperate response
type SmartCallRequest ¶
type SmartCallRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` VoiceCodeParam string `position:"Query" name:"VoiceCodeParam"` EarlyMediaAsr requests.Boolean `position:"Query" name:"EarlyMediaAsr"` Speed requests.Integer `position:"Query" name:"Speed"` AsrBaseId string `position:"Query" name:"AsrBaseId"` SessionTimeout requests.Integer `position:"Query" name:"SessionTimeout"` DynamicId string `position:"Query" name:"DynamicId"` CalledNumber string `position:"Query" name:"CalledNumber"` TtsSpeed requests.Integer `position:"Query" name:"TtsSpeed"` VoiceCode string `position:"Query" name:"VoiceCode"` CalledShowNumber string `position:"Query" name:"CalledShowNumber"` ActionCodeTimeBreak requests.Integer `position:"Query" name:"ActionCodeTimeBreak"` TtsConf requests.Boolean `position:"Query" name:"TtsConf"` ActionCodeBreak requests.Boolean `position:"Query" name:"ActionCodeBreak"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` RecordFlag requests.Boolean `position:"Query" name:"RecordFlag"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TtsVolume requests.Integer `position:"Query" name:"TtsVolume"` Volume requests.Integer `position:"Query" name:"Volume"` MuteTime requests.Integer `position:"Query" name:"MuteTime"` OutId string `position:"Query" name:"OutId"` AsrModelId string `position:"Query" name:"AsrModelId"` PauseTime requests.Integer `position:"Query" name:"PauseTime"` TtsStyle string `position:"Query" name:"TtsStyle"` }
SmartCallRequest is the request struct for api SmartCall
func CreateSmartCallRequest ¶
func CreateSmartCallRequest() (request *SmartCallRequest)
CreateSmartCallRequest creates a request to invoke SmartCall API
type SmartCallResponse ¶
type SmartCallResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CallId string `json:"CallId" xml:"CallId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
SmartCallResponse is the response struct for api SmartCall
func CreateSmartCallResponse ¶
func CreateSmartCallResponse() (response *SmartCallResponse)
CreateSmartCallResponse creates a response to parse from SmartCall response
type StartRobotTaskRequest ¶
type StartRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScheduleTime string `position:"Query" name:"ScheduleTime"` TaskId requests.Integer `position:"Query" name:"TaskId"` }
StartRobotTaskRequest is the request struct for api StartRobotTask
func CreateStartRobotTaskRequest ¶
func CreateStartRobotTaskRequest() (request *StartRobotTaskRequest)
CreateStartRobotTaskRequest creates a request to invoke StartRobotTask API
type StartRobotTaskResponse ¶
type StartRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
StartRobotTaskResponse is the response struct for api StartRobotTask
func CreateStartRobotTaskResponse ¶
func CreateStartRobotTaskResponse() (response *StartRobotTaskResponse)
CreateStartRobotTaskResponse creates a response to parse from StartRobotTask response
type StopRobotTaskRequest ¶
type StopRobotTaskRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TaskId requests.Integer `position:"Query" name:"TaskId"` }
StopRobotTaskRequest is the request struct for api StopRobotTask
func CreateStopRobotTaskRequest ¶
func CreateStopRobotTaskRequest() (request *StopRobotTaskRequest)
CreateStopRobotTaskRequest creates a request to invoke StopRobotTask API
type StopRobotTaskResponse ¶
type StopRobotTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
StopRobotTaskResponse is the response struct for api StopRobotTask
func CreateStopRobotTaskResponse ¶
func CreateStopRobotTaskResponse() (response *StopRobotTaskResponse)
CreateStopRobotTaskResponse creates a response to parse from StopRobotTask response
type UnbindNumberAndVoipIdRequest ¶
type UnbindNumberAndVoipIdRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` VoipId string `position:"Query" name:"VoipId"` }
UnbindNumberAndVoipIdRequest is the request struct for api UnbindNumberAndVoipId
func CreateUnbindNumberAndVoipIdRequest ¶
func CreateUnbindNumberAndVoipIdRequest() (request *UnbindNumberAndVoipIdRequest)
CreateUnbindNumberAndVoipIdRequest creates a request to invoke UnbindNumberAndVoipId API
type UnbindNumberAndVoipIdResponse ¶
type UnbindNumberAndVoipIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Module string `json:"Module" xml:"Module"` Message string `json:"Message" xml:"Message"` }
UnbindNumberAndVoipIdResponse is the response struct for api UnbindNumberAndVoipId
func CreateUnbindNumberAndVoipIdResponse ¶
func CreateUnbindNumberAndVoipIdResponse() (response *UnbindNumberAndVoipIdResponse)
CreateUnbindNumberAndVoipIdResponse creates a response to parse from UnbindNumberAndVoipId response
type UploadRobotTaskCalledFileRequest ¶
type UploadRobotTaskCalledFileRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` TtsParamHead string `position:"Query" name:"TtsParamHead"` TtsParam string `position:"Query" name:"TtsParam"` CalledNumber string `position:"Query" name:"CalledNumber"` Id requests.Integer `position:"Query" name:"Id"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
UploadRobotTaskCalledFileRequest is the request struct for api UploadRobotTaskCalledFile
func CreateUploadRobotTaskCalledFileRequest ¶
func CreateUploadRobotTaskCalledFileRequest() (request *UploadRobotTaskCalledFileRequest)
CreateUploadRobotTaskCalledFileRequest creates a request to invoke UploadRobotTaskCalledFile API
type UploadRobotTaskCalledFileResponse ¶
type UploadRobotTaskCalledFileResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
UploadRobotTaskCalledFileResponse is the response struct for api UploadRobotTaskCalledFile
func CreateUploadRobotTaskCalledFileResponse ¶
func CreateUploadRobotTaskCalledFileResponse() (response *UploadRobotTaskCalledFileResponse)
CreateUploadRobotTaskCalledFileResponse creates a response to parse from UploadRobotTaskCalledFile response
type VoipAddAccountRequest ¶
type VoipAddAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DeviceId string `position:"Query" name:"DeviceId"` }
VoipAddAccountRequest is the request struct for api VoipAddAccount
func CreateVoipAddAccountRequest ¶
func CreateVoipAddAccountRequest() (request *VoipAddAccountRequest)
CreateVoipAddAccountRequest creates a request to invoke VoipAddAccount API
type VoipAddAccountResponse ¶
type VoipAddAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Module string `json:"Module" xml:"Module"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
VoipAddAccountResponse is the response struct for api VoipAddAccount
func CreateVoipAddAccountResponse ¶
func CreateVoipAddAccountResponse() (response *VoipAddAccountResponse)
CreateVoipAddAccountResponse creates a response to parse from VoipAddAccount response
type VoipGetTokenRequest ¶
type VoipGetTokenRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` VoipId string `position:"Query" name:"VoipId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` DeviceId string `position:"Query" name:"DeviceId"` IsCustomAccount requests.Boolean `position:"Query" name:"IsCustomAccount"` }
VoipGetTokenRequest is the request struct for api VoipGetToken
func CreateVoipGetTokenRequest ¶
func CreateVoipGetTokenRequest() (request *VoipGetTokenRequest)
CreateVoipGetTokenRequest creates a request to invoke VoipGetToken API
type VoipGetTokenResponse ¶
type VoipGetTokenResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Module string `json:"Module" xml:"Module"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` }
VoipGetTokenResponse is the response struct for api VoipGetToken
func CreateVoipGetTokenResponse ¶
func CreateVoipGetTokenResponse() (response *VoipGetTokenResponse)
CreateVoipGetTokenResponse creates a response to parse from VoipGetToken response
Source Files ¶
- add_rtc_account.go
- batch_robot_smart_call.go
- bind_number_and_voip_id.go
- cancel_call.go
- cancel_order_robot_task.go
- cancel_robot_task.go
- click_to_dial.go
- client.go
- create_robot_task.go
- delete_robot_task.go
- endpoint.go
- get_rtc_token.go
- ivr_call.go
- query_call_detail_by_call_id.go
- query_call_detail_by_task_id.go
- query_robot_info_list.go
- query_robot_task_call_detail.go
- query_robot_task_call_list.go
- query_robot_task_detail.go
- query_robot_task_list.go
- query_robotv2_all_list.go
- query_voip_number_bind_infos.go
- report_voip_problems.go
- single_call_by_tts.go
- single_call_by_voice.go
- smart_call.go
- smart_call_operate.go
- start_robot_task.go
- stop_robot_task.go
- unbind_number_and_voip_id.go
- upload_robot_task_called_file.go
- voip_add_account.go
- voip_get_token.go