Documentation ¶
Index ¶
- Constants
- type AbortAgentCruiseDialingCampaignRequest
- type AbortAgentCruiseDialingCampaignRequestParams
- type AbortAgentCruiseDialingCampaignResponse
- type AbortAgentCruiseDialingCampaignResponseParams
- type AbortPredictiveDialingCampaignRequest
- type AbortPredictiveDialingCampaignRequestParams
- type AbortPredictiveDialingCampaignResponse
- type AbortPredictiveDialingCampaignResponseParams
- type AudioFileInfo
- type AutoCalloutTaskCalleeInfo
- type AutoCalloutTaskInfo
- type BindNumberCallOutSkillGroupRequest
- type BindNumberCallOutSkillGroupRequestParams
- type BindNumberCallOutSkillGroupResponse
- type BindNumberCallOutSkillGroupResponseParams
- type BindStaffSkillGroupListRequest
- type BindStaffSkillGroupListRequestParams
- type BindStaffSkillGroupListResponse
- type BindStaffSkillGroupListResponseParams
- type CallInMetrics
- type CallInNumberMetrics
- type CallInSkillGroupMetrics
- type CalleeAttribute
- type Client
- func (c *Client) AbortAgentCruiseDialingCampaign(request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) AbortAgentCruiseDialingCampaignWithContext(ctx context.Context, request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) AbortPredictiveDialingCampaign(request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)
- func (c *Client) AbortPredictiveDialingCampaignWithContext(ctx context.Context, request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)
- func (c *Client) BindNumberCallOutSkillGroup(request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)
- func (c *Client) BindNumberCallOutSkillGroupWithContext(ctx context.Context, request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)
- func (c *Client) BindStaffSkillGroupList(request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)
- func (c *Client) BindStaffSkillGroupListWithContext(ctx context.Context, request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)
- func (c *Client) CreateAICall(request *CreateAICallRequest) (response *CreateAICallResponse, err error)
- func (c *Client) CreateAICallWithContext(ctx context.Context, request *CreateAICallRequest) (response *CreateAICallResponse, err error)
- func (c *Client) CreateAdminURL(request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)
- func (c *Client) CreateAdminURLWithContext(ctx context.Context, request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)
- func (c *Client) CreateAgentCruiseDialingCampaign(request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) CreateAgentCruiseDialingCampaignWithContext(ctx context.Context, request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) CreateAutoCalloutTask(request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)
- func (c *Client) CreateAutoCalloutTaskWithContext(ctx context.Context, request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)
- func (c *Client) CreateCCCSkillGroup(request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)
- func (c *Client) CreateCCCSkillGroupWithContext(ctx context.Context, request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)
- func (c *Client) CreateCallOutSession(request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)
- func (c *Client) CreateCallOutSessionWithContext(ctx context.Context, request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)
- func (c *Client) CreateExtension(request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)
- func (c *Client) CreateExtensionWithContext(ctx context.Context, request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)
- func (c *Client) CreateIVRSession(request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)
- func (c *Client) CreateIVRSessionWithContext(ctx context.Context, request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)
- func (c *Client) CreatePredictiveDialingCampaign(request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)
- func (c *Client) CreatePredictiveDialingCampaignWithContext(ctx context.Context, request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)
- func (c *Client) CreateSDKLoginToken(request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)
- func (c *Client) CreateSDKLoginTokenWithContext(ctx context.Context, request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)
- func (c *Client) CreateStaff(request *CreateStaffRequest) (response *CreateStaffResponse, err error)
- func (c *Client) CreateStaffWithContext(ctx context.Context, request *CreateStaffRequest) (response *CreateStaffResponse, err error)
- func (c *Client) DeleteExtension(request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)
- func (c *Client) DeleteExtensionWithContext(ctx context.Context, request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)
- func (c *Client) DeletePredictiveDialingCampaign(request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)
- func (c *Client) DeletePredictiveDialingCampaignWithContext(ctx context.Context, request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)
- func (c *Client) DeleteStaff(request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)
- func (c *Client) DeleteStaffWithContext(ctx context.Context, request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)
- func (c *Client) DescribeAgentCruiseDialingCampaign(request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) DescribeAgentCruiseDialingCampaignWithContext(ctx context.Context, request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)
- func (c *Client) DescribeAutoCalloutTask(request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)
- func (c *Client) DescribeAutoCalloutTaskWithContext(ctx context.Context, request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)
- func (c *Client) DescribeAutoCalloutTasks(request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)
- func (c *Client) DescribeAutoCalloutTasksWithContext(ctx context.Context, request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)
- func (c *Client) DescribeCCCBuyInfoList(request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)
- func (c *Client) DescribeCCCBuyInfoListWithContext(ctx context.Context, request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)
- func (c *Client) DescribeCallInMetrics(request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)
- func (c *Client) DescribeCallInMetricsWithContext(ctx context.Context, request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)
- func (c *Client) DescribeExtension(request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)
- func (c *Client) DescribeExtensionWithContext(ctx context.Context, request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)
- func (c *Client) DescribeExtensions(request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)
- func (c *Client) DescribeExtensionsWithContext(ctx context.Context, request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)
- func (c *Client) DescribeIvrAudioList(request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)
- func (c *Client) DescribeIvrAudioListWithContext(ctx context.Context, request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)
- func (c *Client) DescribeNumbers(request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)
- func (c *Client) DescribeNumbersWithContext(ctx context.Context, request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)
- func (c *Client) DescribePSTNActiveSessionList(request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)
- func (c *Client) DescribePSTNActiveSessionListWithContext(ctx context.Context, request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)
- func (c *Client) DescribePredictiveDialingCampaign(request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)
- func (c *Client) DescribePredictiveDialingCampaignWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)
- func (c *Client) DescribePredictiveDialingCampaigns(request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)
- func (c *Client) DescribePredictiveDialingCampaignsWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)
- func (c *Client) DescribePredictiveDialingSessions(request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)
- func (c *Client) DescribePredictiveDialingSessionsWithContext(ctx context.Context, request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)
- func (c *Client) DescribeProtectedTelCdr(request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)
- func (c *Client) DescribeProtectedTelCdrWithContext(ctx context.Context, request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)
- func (c *Client) DescribeSkillGroupInfoList(request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)
- func (c *Client) DescribeSkillGroupInfoListWithContext(ctx context.Context, request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)
- func (c *Client) DescribeStaffInfoList(request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)
- func (c *Client) DescribeStaffInfoListWithContext(ctx context.Context, request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)
- func (c *Client) DescribeStaffStatusMetrics(request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)
- func (c *Client) DescribeStaffStatusMetricsWithContext(ctx context.Context, request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)
- func (c *Client) DescribeTelCallInfo(request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)
- func (c *Client) DescribeTelCallInfoWithContext(ctx context.Context, request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)
- func (c *Client) DescribeTelCdr(request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)
- func (c *Client) DescribeTelCdrWithContext(ctx context.Context, request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)
- func (c *Client) DescribeTelSession(request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)
- func (c *Client) DescribeTelSessionWithContext(ctx context.Context, request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)
- func (c *Client) DisableCCCPhoneNumber(request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)
- func (c *Client) DisableCCCPhoneNumberWithContext(ctx context.Context, request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)
- func (c *Client) HangUpCall(request *HangUpCallRequest) (response *HangUpCallResponse, err error)
- func (c *Client) HangUpCallWithContext(ctx context.Context, request *HangUpCallRequest) (response *HangUpCallResponse, err error)
- func (c *Client) ModifyExtension(request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)
- func (c *Client) ModifyExtensionWithContext(ctx context.Context, request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)
- func (c *Client) ModifyStaff(request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)
- func (c *Client) ModifyStaffPassword(request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)
- func (c *Client) ModifyStaffPasswordWithContext(ctx context.Context, request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)
- func (c *Client) ModifyStaffWithContext(ctx context.Context, request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)
- func (c *Client) PausePredictiveDialingCampaign(request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)
- func (c *Client) PausePredictiveDialingCampaignWithContext(ctx context.Context, request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)
- func (c *Client) ResetExtensionPassword(request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)
- func (c *Client) ResetExtensionPasswordWithContext(ctx context.Context, request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)
- func (c *Client) ResumePredictiveDialingCampaign(request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)
- func (c *Client) ResumePredictiveDialingCampaignWithContext(ctx context.Context, request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)
- func (c *Client) StopAutoCalloutTask(request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)
- func (c *Client) StopAutoCalloutTaskWithContext(ctx context.Context, request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)
- func (c *Client) UnbindNumberCallOutSkillGroup(request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)
- func (c *Client) UnbindNumberCallOutSkillGroupWithContext(ctx context.Context, request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)
- func (c *Client) UnbindStaffSkillGroupList(request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)
- func (c *Client) UnbindStaffSkillGroupListWithContext(ctx context.Context, request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)
- func (c *Client) UpdateCCCSkillGroup(request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)
- func (c *Client) UpdateCCCSkillGroupWithContext(ctx context.Context, request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)
- func (c *Client) UpdatePredictiveDialingCampaign(request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)
- func (c *Client) UpdatePredictiveDialingCampaignWithContext(ctx context.Context, request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)
- func (c *Client) UploadIvrAudio(request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)
- func (c *Client) UploadIvrAudioWithContext(ctx context.Context, request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)
- type CreateAICallRequest
- type CreateAICallRequestParams
- type CreateAICallResponse
- type CreateAICallResponseParams
- type CreateAdminURLRequest
- type CreateAdminURLRequestParams
- type CreateAdminURLResponse
- type CreateAdminURLResponseParams
- type CreateAgentCruiseDialingCampaignRequest
- type CreateAgentCruiseDialingCampaignRequestParams
- type CreateAgentCruiseDialingCampaignResponse
- type CreateAgentCruiseDialingCampaignResponseParams
- type CreateAutoCalloutTaskRequest
- type CreateAutoCalloutTaskRequestParams
- type CreateAutoCalloutTaskResponse
- type CreateAutoCalloutTaskResponseParams
- type CreateCCCSkillGroupRequest
- type CreateCCCSkillGroupRequestParams
- type CreateCCCSkillGroupResponse
- type CreateCCCSkillGroupResponseParams
- type CreateCallOutSessionRequest
- type CreateCallOutSessionRequestParams
- type CreateCallOutSessionResponse
- type CreateCallOutSessionResponseParams
- type CreateExtensionRequest
- type CreateExtensionRequestParams
- type CreateExtensionResponse
- type CreateExtensionResponseParams
- type CreateIVRSessionRequest
- type CreateIVRSessionRequestParams
- type CreateIVRSessionResponse
- type CreateIVRSessionResponseParams
- type CreatePredictiveDialingCampaignRequest
- type CreatePredictiveDialingCampaignRequestParams
- type CreatePredictiveDialingCampaignResponse
- type CreatePredictiveDialingCampaignResponseParams
- type CreateSDKLoginTokenRequest
- type CreateSDKLoginTokenRequestParams
- type CreateSDKLoginTokenResponse
- type CreateSDKLoginTokenResponseParams
- type CreateStaffRequest
- type CreateStaffRequestParams
- type CreateStaffResponse
- type CreateStaffResponseParams
- type DeleteExtensionRequest
- type DeleteExtensionRequestParams
- type DeleteExtensionResponse
- type DeleteExtensionResponseParams
- type DeletePredictiveDialingCampaignRequest
- type DeletePredictiveDialingCampaignRequestParams
- type DeletePredictiveDialingCampaignResponse
- type DeletePredictiveDialingCampaignResponseParams
- type DeleteStaffRequest
- type DeleteStaffRequestParams
- type DeleteStaffResponse
- type DeleteStaffResponseParams
- type DescribeAgentCruiseDialingCampaignRequest
- type DescribeAgentCruiseDialingCampaignRequestParams
- type DescribeAgentCruiseDialingCampaignResponse
- type DescribeAgentCruiseDialingCampaignResponseParams
- type DescribeAutoCalloutTaskRequest
- type DescribeAutoCalloutTaskRequestParams
- type DescribeAutoCalloutTaskResponse
- type DescribeAutoCalloutTaskResponseParams
- type DescribeAutoCalloutTasksRequest
- type DescribeAutoCalloutTasksRequestParams
- type DescribeAutoCalloutTasksResponse
- type DescribeAutoCalloutTasksResponseParams
- type DescribeCCCBuyInfoListRequest
- type DescribeCCCBuyInfoListRequestParams
- type DescribeCCCBuyInfoListResponse
- type DescribeCCCBuyInfoListResponseParams
- type DescribeCallInMetricsRequest
- type DescribeCallInMetricsRequestParams
- type DescribeCallInMetricsResponse
- type DescribeCallInMetricsResponseParams
- type DescribeExtensionRequest
- type DescribeExtensionRequestParams
- type DescribeExtensionResponse
- type DescribeExtensionResponseParams
- type DescribeExtensionsRequest
- type DescribeExtensionsRequestParams
- type DescribeExtensionsResponse
- type DescribeExtensionsResponseParams
- type DescribeIvrAudioListRequest
- type DescribeIvrAudioListRequestParams
- type DescribeIvrAudioListResponse
- type DescribeIvrAudioListResponseParams
- type DescribeNumbersRequest
- type DescribeNumbersRequestParams
- type DescribeNumbersResponse
- type DescribeNumbersResponseParams
- type DescribePSTNActiveSessionListRequest
- type DescribePSTNActiveSessionListRequestParams
- type DescribePSTNActiveSessionListResponse
- type DescribePSTNActiveSessionListResponseParams
- type DescribePredictiveDialingCampaignRequest
- type DescribePredictiveDialingCampaignRequestParams
- type DescribePredictiveDialingCampaignResponse
- type DescribePredictiveDialingCampaignResponseParams
- type DescribePredictiveDialingCampaignsElement
- type DescribePredictiveDialingCampaignsRequest
- type DescribePredictiveDialingCampaignsRequestParams
- type DescribePredictiveDialingCampaignsResponse
- type DescribePredictiveDialingCampaignsResponseParams
- type DescribePredictiveDialingSessionsRequest
- type DescribePredictiveDialingSessionsRequestParams
- type DescribePredictiveDialingSessionsResponse
- type DescribePredictiveDialingSessionsResponseParams
- type DescribeProtectedTelCdrRequest
- type DescribeProtectedTelCdrRequestParams
- type DescribeProtectedTelCdrResponse
- type DescribeProtectedTelCdrResponseParams
- type DescribeSkillGroupInfoListRequest
- type DescribeSkillGroupInfoListRequestParams
- type DescribeSkillGroupInfoListResponse
- type DescribeSkillGroupInfoListResponseParams
- type DescribeStaffInfoListRequest
- type DescribeStaffInfoListRequestParams
- type DescribeStaffInfoListResponse
- type DescribeStaffInfoListResponseParams
- type DescribeStaffStatusMetricsRequest
- type DescribeStaffStatusMetricsRequestParams
- type DescribeStaffStatusMetricsResponse
- type DescribeStaffStatusMetricsResponseParams
- type DescribeTelCallInfoRequest
- type DescribeTelCallInfoRequestParams
- type DescribeTelCallInfoResponse
- type DescribeTelCallInfoResponseParams
- type DescribeTelCdrRequest
- type DescribeTelCdrRequestParams
- type DescribeTelCdrResponse
- type DescribeTelCdrResponseParams
- type DescribeTelSessionRequest
- type DescribeTelSessionRequestParams
- type DescribeTelSessionResponse
- type DescribeTelSessionResponseParams
- type DisableCCCPhoneNumberRequest
- type DisableCCCPhoneNumberRequestParams
- type DisableCCCPhoneNumberResponse
- type DisableCCCPhoneNumberResponseParams
- type ErrStaffItem
- type ExtensionInfo
- type HangUpCallRequest
- type HangUpCallRequestParams
- type HangUpCallResponse
- type HangUpCallResponseParams
- type IVRKeyPressedElement
- type ModifyExtensionRequest
- type ModifyExtensionRequestParams
- type ModifyExtensionResponse
- type ModifyExtensionResponseParams
- type ModifyStaffPasswordRequest
- type ModifyStaffPasswordRequestParams
- type ModifyStaffPasswordResponse
- type ModifyStaffPasswordResponseParams
- type ModifyStaffRequest
- type ModifyStaffRequestParams
- type ModifyStaffResponse
- type ModifyStaffResponseParams
- type NumberInfo
- type PSTNSession
- type PSTNSessionInfo
- type PackageBuyInfo
- type PausePredictiveDialingCampaignRequest
- type PausePredictiveDialingCampaignRequestParams
- type PausePredictiveDialingCampaignResponse
- type PausePredictiveDialingCampaignResponseParams
- type PhoneNumBuyInfo
- type ResetExtensionPasswordRequest
- type ResetExtensionPasswordRequestParams
- type ResetExtensionPasswordResponse
- type ResetExtensionPasswordResponseParams
- type ResumePredictiveDialingCampaignRequest
- type ResumePredictiveDialingCampaignRequestParams
- type ResumePredictiveDialingCampaignResponse
- type ResumePredictiveDialingCampaignResponseParams
- type SdkAppIdBuyInfo
- type SeatUserInfo
- type ServeParticipant
- type SkillGroupInfoItem
- type SkillGroupItem
- type StaffBuyInfo
- type StaffInfo
- type StaffSkillGroupList
- type StaffStatusExtra
- type StaffStatusMetrics
- type StopAutoCalloutTaskRequest
- type StopAutoCalloutTaskRequestParams
- type StopAutoCalloutTaskResponse
- type StopAutoCalloutTaskResponseParams
- type TelCdrInfo
- type UnbindNumberCallOutSkillGroupRequest
- type UnbindNumberCallOutSkillGroupRequestParams
- type UnbindNumberCallOutSkillGroupResponse
- type UnbindNumberCallOutSkillGroupResponseParams
- type UnbindStaffSkillGroupListRequest
- type UnbindStaffSkillGroupListRequestParams
- type UnbindStaffSkillGroupListResponse
- type UnbindStaffSkillGroupListResponseParams
- type UpdateCCCSkillGroupRequest
- type UpdateCCCSkillGroupRequestParams
- type UpdateCCCSkillGroupResponse
- type UpdateCCCSkillGroupResponseParams
- type UpdatePredictiveDialingCampaignRequest
- type UpdatePredictiveDialingCampaignRequestParams
- type UpdatePredictiveDialingCampaignResponse
- type UpdatePredictiveDialingCampaignResponseParams
- type UploadAudioInfo
- type UploadIvrAudioFailedInfo
- type UploadIvrAudioRequest
- type UploadIvrAudioRequestParams
- type UploadIvrAudioResponse
- type UploadIvrAudioResponseParams
- type Variable
Constants ¶
const ( // Outbound call failure. FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" // High-risk users, do not call FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" // Limited outbound called number. FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited" // Caller ID exceeds the outbound call limit. FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" // The number is in a restricted calling zone. FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" // Exceeded call limit for the callee within a set time. FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" // Exceeded daily call limit for the callee. FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" // Calls are not allowed at this time. FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" // The current number status cannot be modified. FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify" // Duplicate account. FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" // No available outbound call numbers. FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" // Insufficient permissions. FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" // Agent is busy. FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy" // Number of Uploaded Files exceeds the limit FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow" // An internal error occurs. INTERNALERROR = "InternalError" // Internal database access failure. INTERNALERROR_DBERROR = "InternalError.DBError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Duplicate address. INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress" // Duplicate number INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber" // Duplicate SIP account INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount" // Illegal address. INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress" // Illegal number. INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber" // The instance does not exist. INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" // Invalid address. INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress" // Invalid IP information. INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP" // Invalid number INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber" // Invalid port information. INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort" // Illegal password. (The length should be no less than 8 digits and must contain upper and lower case letters and numbers.) INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat" // Illegal username (only can contain A-Z,a-z, and number) INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat" // The SIP channel is still in use. INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed" // SIP channel information not found INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound" // Invalid Parameter INVALIDPARAMETERVALUE = "InvalidParameterValue" // Account does not exist. INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" // The SDKAppID does not exist. INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" // The number has been bound to another account. INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount" // Skill group error. INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError" // Skill group already exists. INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist" // Exceeded quota limit. LIMITEXCEEDED = "LimitExceeded" // Your call package is used up. LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired" // Exceeded quantity limit. LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit" // Not in the allowlist. OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList" // The account has been disabled. OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2020-02-10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortAgentCruiseDialingCampaignRequest ¶
type AbortAgentCruiseDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *uint64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewAbortAgentCruiseDialingCampaignRequest ¶
func NewAbortAgentCruiseDialingCampaignRequest() (request *AbortAgentCruiseDialingCampaignRequest)
func (*AbortAgentCruiseDialingCampaignRequest) FromJsonString ¶
func (r *AbortAgentCruiseDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortAgentCruiseDialingCampaignRequest) ToJsonString ¶
func (r *AbortAgentCruiseDialingCampaignRequest) ToJsonString() string
type AbortAgentCruiseDialingCampaignRequestParams ¶
type AbortAgentCruiseDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *uint64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type AbortAgentCruiseDialingCampaignResponse ¶
type AbortAgentCruiseDialingCampaignResponse struct { *tchttp.BaseResponse Response *AbortAgentCruiseDialingCampaignResponseParams `json:"Response"` }
func NewAbortAgentCruiseDialingCampaignResponse ¶
func NewAbortAgentCruiseDialingCampaignResponse() (response *AbortAgentCruiseDialingCampaignResponse)
func (*AbortAgentCruiseDialingCampaignResponse) FromJsonString ¶
func (r *AbortAgentCruiseDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortAgentCruiseDialingCampaignResponse) ToJsonString ¶
func (r *AbortAgentCruiseDialingCampaignResponse) ToJsonString() string
type AbortAgentCruiseDialingCampaignResponseParams ¶
type AbortAgentCruiseDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AbortPredictiveDialingCampaignRequest ¶
type AbortPredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewAbortPredictiveDialingCampaignRequest ¶
func NewAbortPredictiveDialingCampaignRequest() (request *AbortPredictiveDialingCampaignRequest)
func (*AbortPredictiveDialingCampaignRequest) FromJsonString ¶
func (r *AbortPredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortPredictiveDialingCampaignRequest) ToJsonString ¶
func (r *AbortPredictiveDialingCampaignRequest) ToJsonString() string
type AbortPredictiveDialingCampaignRequestParams ¶
type AbortPredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type AbortPredictiveDialingCampaignResponse ¶
type AbortPredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *AbortPredictiveDialingCampaignResponseParams `json:"Response"` }
func NewAbortPredictiveDialingCampaignResponse ¶
func NewAbortPredictiveDialingCampaignResponse() (response *AbortPredictiveDialingCampaignResponse)
func (*AbortPredictiveDialingCampaignResponse) FromJsonString ¶
func (r *AbortPredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortPredictiveDialingCampaignResponse) ToJsonString ¶
func (r *AbortPredictiveDialingCampaignResponse) ToJsonString() string
type AbortPredictiveDialingCampaignResponseParams ¶
type AbortPredictiveDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AudioFileInfo ¶
type AudioFileInfo struct { // File ID // Note: This field may return null, indicating that no valid values can be obtained. FileId *uint64 `json:"FileId,omitnil,omitempty" name:"FileId"` // File alias // Note: This field may return null, indicating that no valid values can be obtained. CustomFileName *string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"` // Filename // Note: This field may return null, indicating that no valid values can be obtained. AudioFileName *string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"` // Review status, 0-Not reviewed, 1-Approved, 2-Rejected // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
type AutoCalloutTaskCalleeInfo ¶
type AutoCalloutTaskCalleeInfo struct { // Called number. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Call status 0 - Initial, 1 - Answered, 2 - Unanswered, 3 - Calling, 4 - Pending Retry. State *uint64 `json:"State,omitnil,omitempty" name:"State"` // List of session IDs. Sessions []*string `json:"Sessions,omitnil,omitempty" name:"Sessions"` }
type AutoCalloutTaskInfo ¶
type AutoCalloutTaskInfo struct { // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Number of calls. CalleeCount *uint64 `json:"CalleeCount,omitnil,omitempty" name:"CalleeCount"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Start timestamp. NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"` // End timestamp. // Note: this field may return null, indicating that no valid values can be obtained. NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"` // IvrId used by the task. IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"` // Task status: // 0 Initial: Task created, calling not started // 1 Running // 2 Completed: All calls in the task are completed // 3 Ending: The task is due, but some calls are still not finished // 4 Ended: Task terminated due to expiration State *uint64 `json:"State,omitnil,omitempty" name:"State"` // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
type BindNumberCallOutSkillGroupRequest ¶
type BindNumberCallOutSkillGroupRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Number to be bound. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // Skill group ID list to be bound. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` }
func NewBindNumberCallOutSkillGroupRequest ¶
func NewBindNumberCallOutSkillGroupRequest() (request *BindNumberCallOutSkillGroupRequest)
func (*BindNumberCallOutSkillGroupRequest) FromJsonString ¶
func (r *BindNumberCallOutSkillGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindNumberCallOutSkillGroupRequest) ToJsonString ¶
func (r *BindNumberCallOutSkillGroupRequest) ToJsonString() string
type BindNumberCallOutSkillGroupRequestParams ¶
type BindNumberCallOutSkillGroupRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Number to be bound. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // Skill group ID list to be bound. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` }
Predefined struct for user
type BindNumberCallOutSkillGroupResponse ¶
type BindNumberCallOutSkillGroupResponse struct { *tchttp.BaseResponse Response *BindNumberCallOutSkillGroupResponseParams `json:"Response"` }
func NewBindNumberCallOutSkillGroupResponse ¶
func NewBindNumberCallOutSkillGroupResponse() (response *BindNumberCallOutSkillGroupResponse)
func (*BindNumberCallOutSkillGroupResponse) FromJsonString ¶
func (r *BindNumberCallOutSkillGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindNumberCallOutSkillGroupResponse) ToJsonString ¶
func (r *BindNumberCallOutSkillGroupResponse) ToJsonString() string
type BindNumberCallOutSkillGroupResponseParams ¶
type BindNumberCallOutSkillGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BindStaffSkillGroupListRequest ¶
type BindStaffSkillGroupListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Bound skill group list SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` // Bound skill group list (required). StaffSkillGroupList []*StaffSkillGroupList `json:"StaffSkillGroupList,omitnil,omitempty" name:"StaffSkillGroupList"` }
func NewBindStaffSkillGroupListRequest ¶
func NewBindStaffSkillGroupListRequest() (request *BindStaffSkillGroupListRequest)
func (*BindStaffSkillGroupListRequest) FromJsonString ¶
func (r *BindStaffSkillGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindStaffSkillGroupListRequest) ToJsonString ¶
func (r *BindStaffSkillGroupListRequest) ToJsonString() string
type BindStaffSkillGroupListRequestParams ¶
type BindStaffSkillGroupListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Bound skill group list // // Deprecated: SkillGroupList is deprecated. SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` // Bound skill group list (required). StaffSkillGroupList []*StaffSkillGroupList `json:"StaffSkillGroupList,omitnil,omitempty" name:"StaffSkillGroupList"` }
Predefined struct for user
type BindStaffSkillGroupListResponse ¶
type BindStaffSkillGroupListResponse struct { *tchttp.BaseResponse Response *BindStaffSkillGroupListResponseParams `json:"Response"` }
func NewBindStaffSkillGroupListResponse ¶
func NewBindStaffSkillGroupListResponse() (response *BindStaffSkillGroupListResponse)
func (*BindStaffSkillGroupListResponse) FromJsonString ¶
func (r *BindStaffSkillGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindStaffSkillGroupListResponse) ToJsonString ¶
func (r *BindStaffSkillGroupListResponse) ToJsonString() string
type BindStaffSkillGroupListResponseParams ¶
type BindStaffSkillGroupListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CallInMetrics ¶
type CallInMetrics struct { // Number of IVR residency. IvrCount *int64 `json:"IvrCount,omitnil,omitempty" name:"IvrCount"` // Number in queue. QueueCount *int64 `json:"QueueCount,omitnil,omitempty" name:"QueueCount"` // Number in ringing. RingCount *int64 `json:"RingCount,omitnil,omitempty" name:"RingCount"` // Number in connection. AcceptCount *int64 `json:"AcceptCount,omitnil,omitempty" name:"AcceptCount"` // Number of customer service transferring to the external line. TransferOuterCount *int64 `json:"TransferOuterCount,omitnil,omitempty" name:"TransferOuterCount"` // Maximum queue duration. MaxQueueDuration *int64 `json:"MaxQueueDuration,omitnil,omitempty" name:"MaxQueueDuration"` // Average queue duration. AvgQueueDuration *int64 `json:"AvgQueueDuration,omitnil,omitempty" name:"AvgQueueDuration"` // Maximum ringing duration. MaxRingDuration *int64 `json:"MaxRingDuration,omitnil,omitempty" name:"MaxRingDuration"` // Average ringing duration. AvgRingDuration *int64 `json:"AvgRingDuration,omitnil,omitempty" name:"AvgRingDuration"` // Maximum connection duration. MaxAcceptDuration *int64 `json:"MaxAcceptDuration,omitnil,omitempty" name:"MaxAcceptDuration"` // Average connection duration. AvgAcceptDuration *int64 `json:"AvgAcceptDuration,omitnil,omitempty" name:"AvgAcceptDuration"` }
type CallInNumberMetrics ¶
type CallInNumberMetrics struct { // Line number. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // Line-related metrics. Metrics *CallInMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Bound skill group metrics. SkillGroupMetrics []*CallInSkillGroupMetrics `json:"SkillGroupMetrics,omitnil,omitempty" name:"SkillGroupMetrics"` }
type CallInSkillGroupMetrics ¶
type CallInSkillGroupMetrics struct { // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Data metrics. Metrics *CallInMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Skill group name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
type CalleeAttribute ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AbortAgentCruiseDialingCampaign ¶
func (c *Client) AbortAgentCruiseDialingCampaign(request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)
AbortAgentCruiseDialingCampaign If you want to stop running agent's individual auto task, then call AbortAgentCruiseDialingCampaign to terminate.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AbortAgentCruiseDialingCampaignWithContext ¶
func (c *Client) AbortAgentCruiseDialingCampaignWithContext(ctx context.Context, request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)
AbortAgentCruiseDialingCampaign If you want to stop running agent's individual auto task, then call AbortAgentCruiseDialingCampaign to terminate.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AbortPredictiveDialingCampaign ¶
func (c *Client) AbortPredictiveDialingCampaign(request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)
AbortPredictiveDialingCampaign This API is used to pause predictive dialing campaign
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AbortPredictiveDialingCampaignWithContext ¶
func (c *Client) AbortPredictiveDialingCampaignWithContext(ctx context.Context, request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)
AbortPredictiveDialingCampaign This API is used to pause predictive dialing campaign
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) BindNumberCallOutSkillGroup ¶
func (c *Client) BindNumberCallOutSkillGroup(request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)
BindNumberCallOutSkillGroup This API is used to assign outbound skill group(s) to your number
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) BindNumberCallOutSkillGroupWithContext ¶
func (c *Client) BindNumberCallOutSkillGroupWithContext(ctx context.Context, request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)
BindNumberCallOutSkillGroup This API is used to assign outbound skill group(s) to your number
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) BindStaffSkillGroupList ¶
func (c *Client) BindStaffSkillGroupList(request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)
BindStaffSkillGroupList This API is used to assign an agent to skill group
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) BindStaffSkillGroupListWithContext ¶
func (c *Client) BindStaffSkillGroupListWithContext(ctx context.Context, request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)
BindStaffSkillGroupList This API is used to assign an agent to skill group
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) CreateAICall ¶
func (c *Client) CreateAICall(request *CreateAICallRequest) (response *CreateAICallResponse, err error)
CreateAICall Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.
Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://intl.cloud.tencent.com/document/product/679/112100?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreateAICallWithContext ¶
func (c *Client) CreateAICallWithContext(ctx context.Context, request *CreateAICallRequest) (response *CreateAICallResponse, err error)
CreateAICall Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.
Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://intl.cloud.tencent.com/document/product/679/112100?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreateAdminURL ¶
func (c *Client) CreateAdminURL(request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)
CreateAdminURL This API is used to create a management access link.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreateAdminURLWithContext ¶
func (c *Client) CreateAdminURLWithContext(ctx context.Context, request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)
CreateAdminURL This API is used to create a management access link.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreateAgentCruiseDialingCampaign ¶
func (c *Client) CreateAgentCruiseDialingCampaign(request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)
CreateAgentCruiseDialingCampaign This document shows how to call API to create an individual auto dialing campaign for agent
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) CreateAgentCruiseDialingCampaignWithContext ¶
func (c *Client) CreateAgentCruiseDialingCampaignWithContext(ctx context.Context, request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)
CreateAgentCruiseDialingCampaign This document shows how to call API to create an individual auto dialing campaign for agent
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) CreateAutoCalloutTask ¶
func (c *Client) CreateAutoCalloutTask(request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)
CreateAutoCalloutTask This API is used to create the automatic outbound call task.
error code that may be returned:
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateAutoCalloutTaskWithContext ¶
func (c *Client) CreateAutoCalloutTaskWithContext(ctx context.Context, request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)
CreateAutoCalloutTask This API is used to create the automatic outbound call task.
error code that may be returned:
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateCCCSkillGroup ¶
func (c *Client) CreateCCCSkillGroup(request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)
CreateCCCSkillGroup This API is used to create a new skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"
func (*Client) CreateCCCSkillGroupWithContext ¶
func (c *Client) CreateCCCSkillGroupWithContext(ctx context.Context, request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)
CreateCCCSkillGroup This API is used to create a new skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"
func (*Client) CreateCallOutSession ¶
func (c *Client) CreateCallOutSession(request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)
CreateCallOutSession This API is used to create outbound sessions. Currently, only dual call is supported. That is, firstly, please use the platform number to call the agent's cell phone. After the agent answers, then please make outbound calls to the user. Due to ISP frequency restrictions, the agent's phone number must first be added to the allowlist to avoid frequency control which may lead to the failure of the outbound call.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCallOutSessionWithContext ¶
func (c *Client) CreateCallOutSessionWithContext(ctx context.Context, request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)
CreateCallOutSession This API is used to create outbound sessions. Currently, only dual call is supported. That is, firstly, please use the platform number to call the agent's cell phone. After the agent answers, then please make outbound calls to the user. Due to ISP frequency restrictions, the agent's phone number must first be added to the allowlist to avoid frequency control which may lead to the failure of the outbound call.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateExtension ¶
func (c *Client) CreateExtension(request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)
CreateExtension This API is used to create the telephone account.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) CreateExtensionWithContext ¶
func (c *Client) CreateExtensionWithContext(ctx context.Context, request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)
CreateExtension This API is used to create the telephone account.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) CreateIVRSession ¶
func (c *Client) CreateIVRSession(request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)
CreateIVRSession Create a session associated with IVR. This feature is supported only in the Advanced Version. Currently, it supports inbound and automatic outbound IVR types. Upon receiving the request, TCCC will first attempt to call the callee, then enter the IVR flow.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreateIVRSessionWithContext ¶
func (c *Client) CreateIVRSessionWithContext(ctx context.Context, request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)
CreateIVRSession Create a session associated with IVR. This feature is supported only in the Advanced Version. Currently, it supports inbound and automatic outbound IVR types. Upon receiving the request, TCCC will first attempt to call the callee, then enter the IVR flow.
error code that may be returned:
FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed" FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser" FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency" FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime" FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID" FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime" FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"
func (*Client) CreatePredictiveDialingCampaign ¶
func (c *Client) CreatePredictiveDialingCampaign(request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)
CreatePredictiveDialingCampaign This API is used to create the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) CreatePredictiveDialingCampaignWithContext ¶
func (c *Client) CreatePredictiveDialingCampaignWithContext(ctx context.Context, request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)
CreatePredictiveDialingCampaign This API is used to create the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) CreateSDKLoginToken ¶
func (c *Client) CreateSDKLoginToken(request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)
CreateSDKLoginToken This API is used to create the SDK log-in token.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled"
func (*Client) CreateSDKLoginTokenWithContext ¶
func (c *Client) CreateSDKLoginTokenWithContext(ctx context.Context, request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)
CreateSDKLoginToken This API is used to create the SDK log-in token.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled"
func (*Client) CreateStaff ¶
func (c *Client) CreateStaff(request *CreateStaffRequest) (response *CreateStaffResponse, err error)
CreateStaff This API is used to create the customer service account.
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateStaffWithContext ¶
func (c *Client) CreateStaffWithContext(ctx context.Context, request *CreateStaffRequest) (response *CreateStaffResponse, err error)
CreateStaff This API is used to create the customer service account.
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteExtension ¶
func (c *Client) DeleteExtension(request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)
DeleteExtension This API is used to delete telephone accounts.
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteExtensionWithContext ¶
func (c *Client) DeleteExtensionWithContext(ctx context.Context, request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)
DeleteExtension This API is used to delete telephone accounts.
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeletePredictiveDialingCampaign ¶
func (c *Client) DeletePredictiveDialingCampaign(request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)
DeletePredictiveDialingCampaign This API is used to delete the predictive outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeletePredictiveDialingCampaignWithContext ¶
func (c *Client) DeletePredictiveDialingCampaignWithContext(ctx context.Context, request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)
DeletePredictiveDialingCampaign This API is used to delete the predictive outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteStaff ¶
func (c *Client) DeleteStaff(request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)
DeleteStaff This API is used to delete the agent information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DeleteStaffWithContext ¶
func (c *Client) DeleteStaffWithContext(ctx context.Context, request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)
DeleteStaff This API is used to delete the agent information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeAgentCruiseDialingCampaign ¶
func (c *Client) DescribeAgentCruiseDialingCampaign(request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)
DescribeAgentCruiseDialingCampaign Query Agent Cruise-style Outbound Call Task
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAgentCruiseDialingCampaignWithContext ¶
func (c *Client) DescribeAgentCruiseDialingCampaignWithContext(ctx context.Context, request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)
DescribeAgentCruiseDialingCampaign Query Agent Cruise-style Outbound Call Task
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAutoCalloutTask ¶
func (c *Client) DescribeAutoCalloutTask(request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)
DescribeAutoCalloutTask This API is used to query automatic outbound call task details.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAutoCalloutTaskWithContext ¶
func (c *Client) DescribeAutoCalloutTaskWithContext(ctx context.Context, request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)
DescribeAutoCalloutTask This API is used to query automatic outbound call task details.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAutoCalloutTasks ¶
func (c *Client) DescribeAutoCalloutTasks(request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)
DescribeAutoCalloutTasks Batch Query Automatic Outbound Call Tasks
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAutoCalloutTasksWithContext ¶
func (c *Client) DescribeAutoCalloutTasksWithContext(ctx context.Context, request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)
DescribeAutoCalloutTasks Batch Query Automatic Outbound Call Tasks
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeCCCBuyInfoList ¶
func (c *Client) DescribeCCCBuyInfoList(request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)
DescribeCCCBuyInfoList This API is used to access the user purchasing information list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCCBuyInfoListWithContext ¶
func (c *Client) DescribeCCCBuyInfoListWithContext(ctx context.Context, request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)
DescribeCCCBuyInfoList This API is used to access the user purchasing information list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCallInMetrics ¶
func (c *Client) DescribeCallInMetrics(request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)
DescribeCallInMetrics This API is used to access the inbound real-time data statistical metrics.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeCallInMetricsWithContext ¶
func (c *Client) DescribeCallInMetricsWithContext(ctx context.Context, request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)
DescribeCallInMetrics This API is used to access the inbound real-time data statistical metrics.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeExtension ¶
func (c *Client) DescribeExtension(request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)
DescribeExtension This API is used to access the telephone information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) DescribeExtensionWithContext ¶
func (c *Client) DescribeExtensionWithContext(ctx context.Context, request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)
DescribeExtension This API is used to access the telephone information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) DescribeExtensions ¶
func (c *Client) DescribeExtensions(request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)
DescribeExtensions This API is used to query the telephone list information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeExtensionsWithContext ¶
func (c *Client) DescribeExtensionsWithContext(ctx context.Context, request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)
DescribeExtensions This API is used to query the telephone list information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeIvrAudioList ¶
func (c *Client) DescribeIvrAudioList(request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)
DescribeIvrAudioList Query IVR Audio File List Information
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeIvrAudioListWithContext ¶
func (c *Client) DescribeIvrAudioListWithContext(ctx context.Context, request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)
DescribeIvrAudioList Query IVR Audio File List Information
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeNumbers ¶
func (c *Client) DescribeNumbers(request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)
DescribeNumbers This API is used to query the number list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeNumbersWithContext ¶
func (c *Client) DescribeNumbersWithContext(ctx context.Context, request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)
DescribeNumbers This API is used to query the number list.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePSTNActiveSessionList ¶
func (c *Client) DescribePSTNActiveSessionList(request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)
DescribePSTNActiveSessionList This API is used to access the current calling session list.
error code that may be returned:
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) DescribePSTNActiveSessionListWithContext ¶
func (c *Client) DescribePSTNActiveSessionListWithContext(ctx context.Context, request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)
DescribePSTNActiveSessionList This API is used to access the current calling session list.
error code that may be returned:
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR = "InternalError" LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"
func (*Client) DescribePredictiveDialingCampaign ¶
func (c *Client) DescribePredictiveDialingCampaign(request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)
DescribePredictiveDialingCampaign This API is used to query the predictive outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePredictiveDialingCampaignWithContext ¶
func (c *Client) DescribePredictiveDialingCampaignWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)
DescribePredictiveDialingCampaign This API is used to query the predictive outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePredictiveDialingCampaigns ¶
func (c *Client) DescribePredictiveDialingCampaigns(request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)
DescribePredictiveDialingCampaigns This API is used to query the predictive outbound call task list.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePredictiveDialingCampaignsWithContext ¶
func (c *Client) DescribePredictiveDialingCampaignsWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)
DescribePredictiveDialingCampaigns This API is used to query the predictive outbound call task list.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePredictiveDialingSessions ¶
func (c *Client) DescribePredictiveDialingSessions(request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)
DescribePredictiveDialingSessions This API is used to query the predictive outbound call list.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePredictiveDialingSessionsWithContext ¶
func (c *Client) DescribePredictiveDialingSessionsWithContext(ctx context.Context, request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)
DescribePredictiveDialingSessions This API is used to query the predictive outbound call list.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeProtectedTelCdr ¶
func (c *Client) DescribeProtectedTelCdr(request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)
DescribeProtectedTelCdr This API is used to access protected phone service records and recordings for both inbound and outbound calls.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeProtectedTelCdrWithContext ¶
func (c *Client) DescribeProtectedTelCdrWithContext(ctx context.Context, request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)
DescribeProtectedTelCdr This API is used to access protected phone service records and recordings for both inbound and outbound calls.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeSkillGroupInfoList ¶
func (c *Client) DescribeSkillGroupInfoList(request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)
DescribeSkillGroupInfoList This API is used to access the skill group information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeSkillGroupInfoListWithContext ¶
func (c *Client) DescribeSkillGroupInfoListWithContext(ctx context.Context, request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)
DescribeSkillGroupInfoList This API is used to access the skill group information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeStaffInfoList ¶
func (c *Client) DescribeStaffInfoList(request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)
DescribeStaffInfoList This API is used to access the agent information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeStaffInfoListWithContext ¶
func (c *Client) DescribeStaffInfoListWithContext(ctx context.Context, request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)
DescribeStaffInfoList This API is used to access the agent information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeStaffStatusMetrics ¶
func (c *Client) DescribeStaffStatusMetrics(request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)
DescribeStaffStatusMetrics This API is used to access the real-time status statistics metrics of the agent.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeStaffStatusMetricsWithContext ¶
func (c *Client) DescribeStaffStatusMetricsWithContext(ctx context.Context, request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)
DescribeStaffStatusMetrics This API is used to access the real-time status statistics metrics of the agent.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelCallInfo ¶
func (c *Client) DescribeTelCallInfo(request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)
DescribeTelCallInfo This API is used to access call detail records by application
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelCallInfoWithContext ¶
func (c *Client) DescribeTelCallInfoWithContext(ctx context.Context, request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)
DescribeTelCallInfo This API is used to access call detail records by application
error code that may be returned:
FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount" FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelCdr ¶
func (c *Client) DescribeTelCdr(request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)
DescribeTelCdr This API is used to access phone service records and recordings.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelCdrWithContext ¶
func (c *Client) DescribeTelCdrWithContext(ctx context.Context, request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)
DescribeTelCdr This API is used to access phone service records and recordings.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelSession ¶
func (c *Client) DescribeTelSession(request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)
DescribeTelSession This API is used to access the PSTN session information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DescribeTelSessionWithContext ¶
func (c *Client) DescribeTelSessionWithContext(ctx context.Context, request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)
DescribeTelSession This API is used to access the PSTN session information.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) DisableCCCPhoneNumber ¶
func (c *Client) DisableCCCPhoneNumber(request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)
DisableCCCPhoneNumber This API is used to disable numbers.
error code that may be returned:
FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress" INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber" INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount" INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress" INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber" INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress" INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP" INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber" INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort" INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat" INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat" INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed" INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DisableCCCPhoneNumberWithContext ¶
func (c *Client) DisableCCCPhoneNumberWithContext(ctx context.Context, request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)
DisableCCCPhoneNumber This API is used to disable numbers.
error code that may be returned:
FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress" INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber" INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount" INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress" INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber" INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress" INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP" INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber" INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort" INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat" INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat" INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed" INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) HangUpCall ¶
func (c *Client) HangUpCall(request *HangUpCallRequest) (response *HangUpCallResponse, err error)
HangUpCall This API is used to hang up the phone.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) HangUpCallWithContext ¶
func (c *Client) HangUpCallWithContext(ctx context.Context, request *HangUpCallRequest) (response *HangUpCallResponse, err error)
HangUpCall This API is used to hang up the phone.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError"
func (*Client) ModifyExtension ¶
func (c *Client) ModifyExtension(request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)
ModifyExtension This API is used to modify telephone accounts (binding skill group, binding agent account).
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) ModifyExtensionWithContext ¶
func (c *Client) ModifyExtensionWithContext(ctx context.Context, request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)
ModifyExtension This API is used to modify telephone accounts (binding skill group, binding agent account).
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) ModifyStaff ¶
func (c *Client) ModifyStaff(request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)
ModifyStaff This API is used to modify customer service / agent account.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount" INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError" OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"
func (*Client) ModifyStaffPassword ¶
func (c *Client) ModifyStaffPassword(request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)
ModifyStaffPassword Modify Agent's Password
error code that may be returned:
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) ModifyStaffPasswordWithContext ¶
func (c *Client) ModifyStaffPasswordWithContext(ctx context.Context, request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)
ModifyStaffPassword Modify Agent's Password
error code that may be returned:
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) ModifyStaffWithContext ¶
func (c *Client) ModifyStaffWithContext(ctx context.Context, request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)
ModifyStaff This API is used to modify customer service / agent account.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount" INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError" OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"
func (*Client) PausePredictiveDialingCampaign ¶
func (c *Client) PausePredictiveDialingCampaign(request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)
PausePredictiveDialingCampaign This API is used to pause the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) PausePredictiveDialingCampaignWithContext ¶
func (c *Client) PausePredictiveDialingCampaignWithContext(ctx context.Context, request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)
PausePredictiveDialingCampaign This API is used to pause the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ResetExtensionPassword ¶
func (c *Client) ResetExtensionPassword(request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)
ResetExtensionPassword This API is used to reset the telephone register password.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ResetExtensionPasswordWithContext ¶
func (c *Client) ResetExtensionPasswordWithContext(ctx context.Context, request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)
ResetExtensionPassword This API is used to reset the telephone register password.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ResumePredictiveDialingCampaign ¶
func (c *Client) ResumePredictiveDialingCampaign(request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)
ResumePredictiveDialingCampaign This API is used to resume the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ResumePredictiveDialingCampaignWithContext ¶
func (c *Client) ResumePredictiveDialingCampaignWithContext(ctx context.Context, request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)
ResumePredictiveDialingCampaign This API is used to resume the predictive outbound call task.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) StopAutoCalloutTask ¶
func (c *Client) StopAutoCalloutTask(request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)
StopAutoCalloutTask This API is used to stop the automatic outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) StopAutoCalloutTaskWithContext ¶
func (c *Client) StopAutoCalloutTaskWithContext(ctx context.Context, request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)
StopAutoCalloutTask This API is used to stop the automatic outbound call task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnbindNumberCallOutSkillGroup ¶
func (c *Client) UnbindNumberCallOutSkillGroup(request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)
UnbindNumberCallOutSkillGroup This API is used to unbind the number from the outbound call skill group.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnbindNumberCallOutSkillGroupWithContext ¶
func (c *Client) UnbindNumberCallOutSkillGroupWithContext(ctx context.Context, request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)
UnbindNumberCallOutSkillGroup This API is used to unbind the number from the outbound call skill group.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnbindStaffSkillGroupList ¶
func (c *Client) UnbindStaffSkillGroupList(request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)
UnbindStaffSkillGroupList This API is used to unbind the agent's skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) UnbindStaffSkillGroupListWithContext ¶
func (c *Client) UnbindStaffSkillGroupListWithContext(ctx context.Context, request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)
UnbindStaffSkillGroupList This API is used to unbind the agent's skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
func (*Client) UpdateCCCSkillGroup ¶
func (c *Client) UpdateCCCSkillGroup(request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)
UpdateCCCSkillGroup This API is used to update the skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"
func (*Client) UpdateCCCSkillGroupWithContext ¶
func (c *Client) UpdateCCCSkillGroupWithContext(ctx context.Context, request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)
UpdateCCCSkillGroup This API is used to update the skill group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"
func (*Client) UpdatePredictiveDialingCampaign ¶
func (c *Client) UpdatePredictiveDialingCampaign(request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)
UpdatePredictiveDialingCampaign This API is used to update the predictive outbound call task before it starts.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdatePredictiveDialingCampaignWithContext ¶
func (c *Client) UpdatePredictiveDialingCampaignWithContext(ctx context.Context, request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)
UpdatePredictiveDialingCampaign This API is used to update the predictive outbound call task before it starts.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UploadIvrAudio ¶
func (c *Client) UploadIvrAudio(request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)
UploadIvrAudio Upload audio files used in IVR, with a daily upload limit of 50 files. (It is recommended to use temporary links stored in Tencent Cloud Cos for the audio file URL in the parameters)
error code that may be returned:
FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UploadIvrAudioWithContext ¶
func (c *Client) UploadIvrAudioWithContext(ctx context.Context, request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)
UploadIvrAudio Upload audio files used in IVR, with a daily upload limit of 50 files. (It is recommended to use temporary links stored in Tencent Cloud Cos for the audio file URL in the parameters)
error code that may be returned:
FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
type CreateAICallRequest ¶
type CreateAICallRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Called number. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // ## Identity // You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses. // // ## Style Guardrails // Be Concise: Respond succinctly, addressing one topic at most. // Embrace Variety: Use diverse language and rephrasing to enhance clarity without repeating content. // Be Conversational: Use everyday language, making the chat feel like talking to a friend. // Be Proactive: Lead the conversation, often wrapping up with a question or next-step suggestion. // Avoid multiple questions in a single response. // Get clarity: If the user only partially answers a question, or if the answer is unclear, keep asking to get clarity. // Use a colloquial way of referring to the date (like Friday, January 14th, or Tuesday, January 12th, 2024 at 8am). // // ## Response Guideline // Adapt and Guess: Try to understand transcripts that may contain transcription errors. Avoid mentioning "transcription error" in the response. // Stay in Character: Keep conversations within your role's scope, guiding them back creatively without repeating. // Ensure Fluid Dialogue: Respond in a role-appropriate, direct manner to maintain a smooth conversation flow. // // ## Task // You will follow the steps below, do not skip steps, and only ask up to one question in response. // If at any time the user showed anger or wanted a human agent, call transfer_call to transfer to a human representative. // 1. Begin with a self-introduction and verify if callee is Cindy. // - if callee is not Cindy, call end_call to hang up, say sorry for the confusion when hanging up. // - if Cindy is not available, call end_call politely to hang up, say you will call back later when hanging up. // 2. Inform Cindy she has an annual body check coming up on April 4th, 2024 at 10am PDT. Check if Cindy is available. // - If not, tell Cindy to reschedule online and jump to step 5. // 3. Ask Cindy if there's anything that the doctor should know before the annual checkup. // - Ask followup questions as needed to assess the severity of the issue, and understand how it has progressed. // 4. Tell Cindy to not eat or drink that day before the checkup. Also tell Cindy to give you a callback if there's any changes in health condition. // 5. Ask Cindy if she has any questions, and if so, answer them until there are no questions. // - If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions. // - If user do not have any questions, call function end_call to hang up. SystemPrompt *string `json:"SystemPrompt,omitnil,omitempty" name:"SystemPrompt"` // Model interface protocol types, currently compatible with three protocol types: // // - OpenAI protocol (including GPT, Hunyuan, DeepSeek, etc.):"openai" // - Azure protocol:"azure" // - Minimax protocol:"minimax" LLMType *string `json:"LLMType,omitnil,omitempty" name:"LLMType"` // Model name, such as // // - OpenAI protocol // "gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat"; // // - Azure protocol // "gpt-4o-mini", "gpt-4o"; // // - Minimax protocol // "deepseek-chat". Model *string `json:"Model,omitnil,omitempty" name:"Model"` // Model API key, for authentication information, please refer to the respective model's official website // // - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [Hunyuan](https://intl.cloud.tencent.com/document/product/1729/111008?from_cn_redirect=1), [DeepSeek](https://api-docs.deepseek.com/zh-cn/); // // - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings); // // - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2) APIKey *string `json:"APIKey,omitnil,omitempty" name:"APIKey"` // Model interface address // // - OpenAI protocol // GPT:"https://api.openai.com/v1/" // Hunyuan:"https://api.hunyuan.cloud.tencent.com/v1" // Deepseek:"https://api.deepseek.com/v1" // // - Azure protocol // "https://{your-resource-name}.openai.azure.com?api-version={api-version}" // // - Minimax protocol // "https://api.minimax.chat/v1" APIUrl *string `json:"APIUrl,omitnil,omitempty" name:"APIUrl"` // The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter. // // Chinese: // ZhiMei: Zhimei, customer service female voice // ZhiXi: Zhixi, general female voice // ZhiQi: Zhiqi, customer service female voice // ZhiTian: Zhitian, female child voice // AiXiaoJing: Ai Xiaojing, dialogue female voice // // English: // WeRose:English Female Voice // Monika:English Female Voice // // Japanese: // Nanami // // Korean: // SunHi // // Indonesian (Indonesia): // Gadis // // Malay (Malaysia): // Yasmin // // Tamil (Malaysia): // Kani // // Thai (Thailand): // Achara // // Vietnamese (Vietnam): // HoaiMy // VoiceType *string `json:"VoiceType,omitnil,omitempty" name:"VoiceType"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Used to set the AI Agent Greeting. WelcomeMessage *string `json:"WelcomeMessage,omitnil,omitempty" name:"WelcomeMessage"` // 0: Use welcomeMessage (if empty, the callee speaks first; if not empty, the bot speaks first) // 1: Use AI to automatically generate welcomeMessage and speak first based on the prompt WelcomeType *int64 `json:"WelcomeType,omitnil,omitempty" name:"WelcomeType"` // Maximum Waiting Duration (milliseconds), default is 60 seconds, if the user does not speak within this time, the call is automatically terminated MaxDuration *int64 `json:"MaxDuration,omitnil,omitempty" name:"MaxDuration"` // ASR Supported Languages, default is "zh" Chinese, // Fill in the array with up to 4 languages, the first is the primary language for recognition, followed by optional languages, // Note: When the primary language is a Chinese dialect, optional languages are invalid // Currently, the supported languages are as follows. The English name of the language is on the left side of the equals sign, and the value to be filled in the Language field is on the right side, following ISO639: // 1. Chinese = "zh" # Chinese // 2. Chinese_TW = "zh-TW" # Taiwan (China) // 3. Chinese_DIALECT = "zh-dialect" # Chinese Dialect // 4. English = "en" # English // 5. Vietnamese = "vi" # Vietnamese // 6. Japanese = "ja" # Japanese // 7. Korean = "ko" # Korean // 8. Indonesia = "id" # Indonesian // 9. Thai = "th" # Thai // 10. Portuguese = "pt" # Portuguese // 11. Turkish = "tr" # Turkish // 12. Arabic = "ar" # Arabic // 13. Spanish = "es" # Spanish // 14. Hindi = "hi" # Hindi // 15. French = "fr" # French // 16. Malay = "ms" # Malay // 17. Filipino = "fil" # Filipino // 18. German = "de" # German // 19. Italian = "it" # Italian // 20. Russian = "ru" # Russian Languages []*string `json:"Languages,omitnil,omitempty" name:"Languages"` // Interrupt AI speech mode, default is 0, 0 indicates the server interrupts automatically, 1 indicates the server does not interrupt, interruption signal sent by the client side. InterruptMode *int64 `json:"InterruptMode,omitnil,omitempty" name:"InterruptMode"` // Used when InterruptMode is 0, unit in milliseconds, default is 500ms. It means that the server-side detects ongoing vocal input for the InterruptSpeechDuration milliseconds and then interrupts. InterruptSpeechDuration *int64 `json:"InterruptSpeechDuration,omitnil,omitempty" name:"InterruptSpeechDuration"` // Whether the model supports (or enables) call_end function calling EndFunctionEnable *bool `json:"EndFunctionEnable,omitnil,omitempty" name:"EndFunctionEnable"` // Effective when EndFunctionEnable is true; the description of call_end function calling, default is "End the call when user has to leave (like says bye) or you are instructed to do so." EndFunctionDesc *string `json:"EndFunctionDesc,omitnil,omitempty" name:"EndFunctionDesc"` // The duration after which the user hasn't spoken to trigger a notification, minimum 10 seconds, default 10 seconds NotifyDuration *int64 `json:"NotifyDuration,omitnil,omitempty" name:"NotifyDuration"` // The AI prompt when NotifyDuration has passed without the user speaking, default is "Sorry, I didn't hear you clearly. Can you repeat that?" NotifyMessage *string `json:"NotifyMessage,omitnil,omitempty" name:"NotifyMessage"` // <p>And VoiceType field needs to select one, here is to use your own custom TTS, VoiceType is some built-in sound qualities</p> // <ul> // <li>Tencent TTS<br> // For configuration, please refer to <a href="https://intl.cloud.tencent.com/document/product/1073/92668?from_cn_redirect=1#55924b56-1a73-4663-a7a1-a8dd82d6e823" target="_blank">Tencent Cloud TTS documentation link</a></li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "tencent", // String TTS type, currently supports "tencent" and "minixmax", other vendors support in progress // "AppId": "Your application ID", // String required // "SecretId": "Your Secret ID", // String Required // "SecretKey": "Your Secret Key", // String Required // "VoiceType": 101001, // Integer Required, Sound quality ID, includes standard and premium sound quality. Premium sound quality is more realistic and differently priced than standard sound quality. See TTS billing overview for details. For the full list of sound quality IDs, see the TTS sound quality list. // "Speed": 1.25, // Integer Optional, speech speed, range: [-2,6], corresponding to different speeds: -2: represents 0.6x -1: represents 0.8x 0: represents 1.0x (default) 1: represents 1.2x 2: represents 1.5x 6: represents 2.5x For more precise speed control, you can retain two decimal places, such as 0.5/1.25/2.81, etc. For parameter value to actual speed conversion, refer to Speed Conversion // "Volume": 5, // Integer Optional, Volume level, range: [0,10], corresponding to 11 levels of volume, default is 0, which represents normal volume. // "PrimaryLanguage": 1, // Integer Optional, Primary language 1- Chinese (default) 2- English 3- Japanese // "FastVoiceType": "xxxx" // Optional parameter, Fast VRS parameter // } // </code></pre> // // </div></div><ul> // <li>Minimax TTS<br> // For configuration, please refer to the <a href="https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643" target="_blank">Minimax TTS documentation link</a>. Note that Minimax TTS has frequency limits, and exceeding the limit may cause response delays, <a href="https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572" target="_blank">Minimax TTS frequency limit related documentation link</a>.</li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "minimax", // String TTS type, // "Model": "speech-01-turbo", // "APIUrl": "https://api.minimax.chat/v1/t2a_v2", // "APIKey": "eyxxxx", // "GroupId": "181000000000000", // "VoiceType":"female-tianmei-yujie", // "Speed": 1.2 // } // </code></pre> // </div></div><ul> // <li>Volcano TTS</li> // </ul> // <p>For type of sound quality configuration, refer to the<a href="https://www.volcengine.com/docs/6561/162929" target="_blank">Volcano TTS documentation</a><br> // TTS Sound Quality List - Voice Technology - Volcano Engine<br> // Large Model TTS Sound Quality List - Voice Technology - Volcano Engine</p> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "volcengine", // Required: String TTS type // "AppId" : "xxxxxxxx", // Required: String Volcano Engine assigned AppId // "Token" : "TY9d4sQXHxxxxxxx", // Required: String type Volcano Engine access token // "Speed" : 1.0, // Optional parameter: Playback speed, default is 1.0 // "Volume": 1.0, // Optional parameter: Volume, default is 1.0 // "Cluster" : "volcano_tts", // Optional parameter: Business cluster, default is volcano_tts // "VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // Sound quality type, default is the sound quality of the large model TTS. If using normal TTS, fill in the corresponding sound quality type. Incorrect sound quality type will result in no sound. // } // </code></pre> // // </div></div><ul> // <li>Azure TTS<br> // For configuration, refer to the<a href="https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice" target="_blank">Azure TTS documentation</a></li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "azure", // Required: String TTS type // "SubscriptionKey": "xxxxxxxx", // Required: String subscription key // "Region": "chinanorth3", // Required: String subscription region // "VoiceName": "zh-CN-XiaoxiaoNeural", // Required: String Timbre Name required // "Language": "zh-CN", // Required: String Language for synthesis // "Rate": 1 // Optional: float Playback Speed 0.5-2 default is 1 // } // </code></pre> // // </div></div><ul> // <li>Custom</li> // </ul> // <p>TTS<br> // Please refer to the specific protocol standards in the <a href="https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw" target="_blank">Tencent documentation</a></p> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "custom", // Required String // "APIKey": "ApiKey", // Required String for Authentication // "APIUrl": "http://0.0.0.0:8080/stream-audio" // Required String, TTS API URL // "AudioFormat": "wav", // String, optional, expected audio format, such as mp3, ogg_opus, pcm, wav, default is wav, currently only pcm and wav are supported, // "SampleRate": 16000, // Integer, optional, audio sample rate, default is 16000 (16k), recommended value is 16000 // "AudioChannel": 1, // Integer, optional, number of audio channels, values: 1 or 2, default is 1 // } // </code></pre> // // </div></div> CustomTTSConfig *string `json:"CustomTTSConfig,omitnil,omitempty" name:"CustomTTSConfig"` }
func NewCreateAICallRequest ¶
func NewCreateAICallRequest() (request *CreateAICallRequest)
func (*CreateAICallRequest) FromJsonString ¶
func (r *CreateAICallRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAICallRequest) ToJsonString ¶
func (r *CreateAICallRequest) ToJsonString() string
type CreateAICallRequestParams ¶
type CreateAICallRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Called number. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // ## Identity // You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses. // // ## Style Guardrails // Be Concise: Respond succinctly, addressing one topic at most. // Embrace Variety: Use diverse language and rephrasing to enhance clarity without repeating content. // Be Conversational: Use everyday language, making the chat feel like talking to a friend. // Be Proactive: Lead the conversation, often wrapping up with a question or next-step suggestion. // Avoid multiple questions in a single response. // Get clarity: If the user only partially answers a question, or if the answer is unclear, keep asking to get clarity. // Use a colloquial way of referring to the date (like Friday, January 14th, or Tuesday, January 12th, 2024 at 8am). // // ## Response Guideline // Adapt and Guess: Try to understand transcripts that may contain transcription errors. Avoid mentioning "transcription error" in the response. // Stay in Character: Keep conversations within your role's scope, guiding them back creatively without repeating. // Ensure Fluid Dialogue: Respond in a role-appropriate, direct manner to maintain a smooth conversation flow. // // ## Task // You will follow the steps below, do not skip steps, and only ask up to one question in response. // If at any time the user showed anger or wanted a human agent, call transfer_call to transfer to a human representative. // 1. Begin with a self-introduction and verify if callee is Cindy. // - if callee is not Cindy, call end_call to hang up, say sorry for the confusion when hanging up. // - if Cindy is not available, call end_call politely to hang up, say you will call back later when hanging up. // 2. Inform Cindy she has an annual body check coming up on April 4th, 2024 at 10am PDT. Check if Cindy is available. // - If not, tell Cindy to reschedule online and jump to step 5. // 3. Ask Cindy if there's anything that the doctor should know before the annual checkup. // - Ask followup questions as needed to assess the severity of the issue, and understand how it has progressed. // 4. Tell Cindy to not eat or drink that day before the checkup. Also tell Cindy to give you a callback if there's any changes in health condition. // 5. Ask Cindy if she has any questions, and if so, answer them until there are no questions. // - If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions. // - If user do not have any questions, call function end_call to hang up. SystemPrompt *string `json:"SystemPrompt,omitnil,omitempty" name:"SystemPrompt"` // Model interface protocol types, currently compatible with three protocol types: // // - OpenAI protocol (including GPT, Hunyuan, DeepSeek, etc.):"openai" // - Azure protocol:"azure" // - Minimax protocol:"minimax" LLMType *string `json:"LLMType,omitnil,omitempty" name:"LLMType"` // Model name, such as // // - OpenAI protocol // "gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat"; // // - Azure protocol // "gpt-4o-mini", "gpt-4o"; // // - Minimax protocol // "deepseek-chat". Model *string `json:"Model,omitnil,omitempty" name:"Model"` // Model API key, for authentication information, please refer to the respective model's official website // // - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [Hunyuan](https://intl.cloud.tencent.com/document/product/1729/111008?from_cn_redirect=1), [DeepSeek](https://api-docs.deepseek.com/zh-cn/); // // - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings); // // - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2) APIKey *string `json:"APIKey,omitnil,omitempty" name:"APIKey"` // Model interface address // // - OpenAI protocol // GPT:"https://api.openai.com/v1/" // Hunyuan:"https://api.hunyuan.cloud.tencent.com/v1" // Deepseek:"https://api.deepseek.com/v1" // // - Azure protocol // "https://{your-resource-name}.openai.azure.com?api-version={api-version}" // // - Minimax protocol // "https://api.minimax.chat/v1" APIUrl *string `json:"APIUrl,omitnil,omitempty" name:"APIUrl"` // The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter. // // Chinese: // ZhiMei: Zhimei, customer service female voice // ZhiXi: Zhixi, general female voice // ZhiQi: Zhiqi, customer service female voice // ZhiTian: Zhitian, female child voice // AiXiaoJing: Ai Xiaojing, dialogue female voice // // English: // WeRose:English Female Voice // Monika:English Female Voice // // Japanese: // Nanami // // Korean: // SunHi // // Indonesian (Indonesia): // Gadis // // Malay (Malaysia): // Yasmin // // Tamil (Malaysia): // Kani // // Thai (Thailand): // Achara // // Vietnamese (Vietnam): // HoaiMy // VoiceType *string `json:"VoiceType,omitnil,omitempty" name:"VoiceType"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Used to set the AI Agent Greeting. WelcomeMessage *string `json:"WelcomeMessage,omitnil,omitempty" name:"WelcomeMessage"` // 0: Use welcomeMessage (if empty, the callee speaks first; if not empty, the bot speaks first) // 1: Use AI to automatically generate welcomeMessage and speak first based on the prompt WelcomeType *int64 `json:"WelcomeType,omitnil,omitempty" name:"WelcomeType"` // Maximum Waiting Duration (milliseconds), default is 60 seconds, if the user does not speak within this time, the call is automatically terminated MaxDuration *int64 `json:"MaxDuration,omitnil,omitempty" name:"MaxDuration"` // ASR Supported Languages, default is "zh" Chinese, // Fill in the array with up to 4 languages, the first is the primary language for recognition, followed by optional languages, // Note: When the primary language is a Chinese dialect, optional languages are invalid // Currently, the supported languages are as follows. The English name of the language is on the left side of the equals sign, and the value to be filled in the Language field is on the right side, following ISO639: // 1. Chinese = "zh" # Chinese // 2. Chinese_TW = "zh-TW" # Taiwan (China) // 3. Chinese_DIALECT = "zh-dialect" # Chinese Dialect // 4. English = "en" # English // 5. Vietnamese = "vi" # Vietnamese // 6. Japanese = "ja" # Japanese // 7. Korean = "ko" # Korean // 8. Indonesia = "id" # Indonesian // 9. Thai = "th" # Thai // 10. Portuguese = "pt" # Portuguese // 11. Turkish = "tr" # Turkish // 12. Arabic = "ar" # Arabic // 13. Spanish = "es" # Spanish // 14. Hindi = "hi" # Hindi // 15. French = "fr" # French // 16. Malay = "ms" # Malay // 17. Filipino = "fil" # Filipino // 18. German = "de" # German // 19. Italian = "it" # Italian // 20. Russian = "ru" # Russian Languages []*string `json:"Languages,omitnil,omitempty" name:"Languages"` // Interrupt AI speech mode, default is 0, 0 indicates the server interrupts automatically, 1 indicates the server does not interrupt, interruption signal sent by the client side. InterruptMode *int64 `json:"InterruptMode,omitnil,omitempty" name:"InterruptMode"` // Used when InterruptMode is 0, unit in milliseconds, default is 500ms. It means that the server-side detects ongoing vocal input for the InterruptSpeechDuration milliseconds and then interrupts. InterruptSpeechDuration *int64 `json:"InterruptSpeechDuration,omitnil,omitempty" name:"InterruptSpeechDuration"` // Whether the model supports (or enables) call_end function calling EndFunctionEnable *bool `json:"EndFunctionEnable,omitnil,omitempty" name:"EndFunctionEnable"` // Effective when EndFunctionEnable is true; the description of call_end function calling, default is "End the call when user has to leave (like says bye) or you are instructed to do so." EndFunctionDesc *string `json:"EndFunctionDesc,omitnil,omitempty" name:"EndFunctionDesc"` // The duration after which the user hasn't spoken to trigger a notification, minimum 10 seconds, default 10 seconds NotifyDuration *int64 `json:"NotifyDuration,omitnil,omitempty" name:"NotifyDuration"` // The AI prompt when NotifyDuration has passed without the user speaking, default is "Sorry, I didn't hear you clearly. Can you repeat that?" NotifyMessage *string `json:"NotifyMessage,omitnil,omitempty" name:"NotifyMessage"` // <p>And VoiceType field needs to select one, here is to use your own custom TTS, VoiceType is some built-in sound qualities</p> // <ul> // <li>Tencent TTS<br> // For configuration, please refer to <a href="https://intl.cloud.tencent.com/document/product/1073/92668?from_cn_redirect=1#55924b56-1a73-4663-a7a1-a8dd82d6e823" target="_blank">Tencent Cloud TTS documentation link</a></li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "tencent", // String TTS type, currently supports "tencent" and "minixmax", other vendors support in progress // "AppId": "Your application ID", // String required // "SecretId": "Your Secret ID", // String Required // "SecretKey": "Your Secret Key", // String Required // "VoiceType": 101001, // Integer Required, Sound quality ID, includes standard and premium sound quality. Premium sound quality is more realistic and differently priced than standard sound quality. See TTS billing overview for details. For the full list of sound quality IDs, see the TTS sound quality list. // "Speed": 1.25, // Integer Optional, speech speed, range: [-2,6], corresponding to different speeds: -2: represents 0.6x -1: represents 0.8x 0: represents 1.0x (default) 1: represents 1.2x 2: represents 1.5x 6: represents 2.5x For more precise speed control, you can retain two decimal places, such as 0.5/1.25/2.81, etc. For parameter value to actual speed conversion, refer to Speed Conversion // "Volume": 5, // Integer Optional, Volume level, range: [0,10], corresponding to 11 levels of volume, default is 0, which represents normal volume. // "PrimaryLanguage": 1, // Integer Optional, Primary language 1- Chinese (default) 2- English 3- Japanese // "FastVoiceType": "xxxx" // Optional parameter, Fast VRS parameter // } // </code></pre> // // </div></div><ul> // <li>Minimax TTS<br> // For configuration, please refer to the <a href="https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643" target="_blank">Minimax TTS documentation link</a>. Note that Minimax TTS has frequency limits, and exceeding the limit may cause response delays, <a href="https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572" target="_blank">Minimax TTS frequency limit related documentation link</a>.</li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "minimax", // String TTS type, // "Model": "speech-01-turbo", // "APIUrl": "https://api.minimax.chat/v1/t2a_v2", // "APIKey": "eyxxxx", // "GroupId": "181000000000000", // "VoiceType":"female-tianmei-yujie", // "Speed": 1.2 // } // </code></pre> // </div></div><ul> // <li>Volcano TTS</li> // </ul> // <p>For type of sound quality configuration, refer to the<a href="https://www.volcengine.com/docs/6561/162929" target="_blank">Volcano TTS documentation</a><br> // TTS Sound Quality List - Voice Technology - Volcano Engine<br> // Large Model TTS Sound Quality List - Voice Technology - Volcano Engine</p> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "volcengine", // Required: String TTS type // "AppId" : "xxxxxxxx", // Required: String Volcano Engine assigned AppId // "Token" : "TY9d4sQXHxxxxxxx", // Required: String type Volcano Engine access token // "Speed" : 1.0, // Optional parameter: Playback speed, default is 1.0 // "Volume": 1.0, // Optional parameter: Volume, default is 1.0 // "Cluster" : "volcano_tts", // Optional parameter: Business cluster, default is volcano_tts // "VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // Sound quality type, default is the sound quality of the large model TTS. If using normal TTS, fill in the corresponding sound quality type. Incorrect sound quality type will result in no sound. // } // </code></pre> // // </div></div><ul> // <li>Azure TTS<br> // For configuration, refer to the<a href="https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice" target="_blank">Azure TTS documentation</a></li> // </ul> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "azure", // Required: String TTS type // "SubscriptionKey": "xxxxxxxx", // Required: String subscription key // "Region": "chinanorth3", // Required: String subscription region // "VoiceName": "zh-CN-XiaoxiaoNeural", // Required: String Timbre Name required // "Language": "zh-CN", // Required: String Language for synthesis // "Rate": 1 // Optional: float Playback Speed 0.5-2 default is 1 // } // </code></pre> // // </div></div><ul> // <li>Custom</li> // </ul> // <p>TTS<br> // Please refer to the specific protocol standards in the <a href="https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw" target="_blank">Tencent documentation</a></p> // <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{ // "TTSType": "custom", // Required String // "APIKey": "ApiKey", // Required String for Authentication // "APIUrl": "http://0.0.0.0:8080/stream-audio" // Required String, TTS API URL // "AudioFormat": "wav", // String, optional, expected audio format, such as mp3, ogg_opus, pcm, wav, default is wav, currently only pcm and wav are supported, // "SampleRate": 16000, // Integer, optional, audio sample rate, default is 16000 (16k), recommended value is 16000 // "AudioChannel": 1, // Integer, optional, number of audio channels, values: 1 or 2, default is 1 // } // </code></pre> // // </div></div> CustomTTSConfig *string `json:"CustomTTSConfig,omitnil,omitempty" name:"CustomTTSConfig"` }
Predefined struct for user
type CreateAICallResponse ¶
type CreateAICallResponse struct { *tchttp.BaseResponse Response *CreateAICallResponseParams `json:"Response"` }
func NewCreateAICallResponse ¶
func NewCreateAICallResponse() (response *CreateAICallResponse)
func (*CreateAICallResponse) FromJsonString ¶
func (r *CreateAICallResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAICallResponse) ToJsonString ¶
func (r *CreateAICallResponse) ToJsonString() string
type CreateAICallResponseParams ¶
type CreateAICallResponseParams struct { // Newly created session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAdminURLRequest ¶
type CreateAdminURLRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Admin account. SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"` }
func NewCreateAdminURLRequest ¶
func NewCreateAdminURLRequest() (request *CreateAdminURLRequest)
func (*CreateAdminURLRequest) FromJsonString ¶
func (r *CreateAdminURLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdminURLRequest) ToJsonString ¶
func (r *CreateAdminURLRequest) ToJsonString() string
type CreateAdminURLRequestParams ¶
type CreateAdminURLRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Admin account. SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"` }
Predefined struct for user
type CreateAdminURLResponse ¶
type CreateAdminURLResponse struct { *tchttp.BaseResponse Response *CreateAdminURLResponseParams `json:"Response"` }
func NewCreateAdminURLResponse ¶
func NewCreateAdminURLResponse() (response *CreateAdminURLResponse)
func (*CreateAdminURLResponse) FromJsonString ¶
func (r *CreateAdminURLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdminURLResponse) ToJsonString ¶
func (r *CreateAdminURLResponse) ToJsonString() string
type CreateAdminURLResponseParams ¶
type CreateAdminURLResponseParams struct { // Log-in link. URL *string `json:"URL,omitnil,omitempty" name:"URL"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAgentCruiseDialingCampaignRequest ¶
type CreateAgentCruiseDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent Account Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"` // Single-round Concurrent Call Volume 1-20 ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // Caller Custom Data, Maximum Length 1024 UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
func NewCreateAgentCruiseDialingCampaignRequest ¶
func NewCreateAgentCruiseDialingCampaignRequest() (request *CreateAgentCruiseDialingCampaignRequest)
func (*CreateAgentCruiseDialingCampaignRequest) FromJsonString ¶
func (r *CreateAgentCruiseDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAgentCruiseDialingCampaignRequest) ToJsonString ¶
func (r *CreateAgentCruiseDialingCampaignRequest) ToJsonString() string
type CreateAgentCruiseDialingCampaignRequestParams ¶
type CreateAgentCruiseDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent Account Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"` // Single-round Concurrent Call Volume 1-20 ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // Caller Custom Data, Maximum Length 1024 UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
Predefined struct for user
type CreateAgentCruiseDialingCampaignResponse ¶
type CreateAgentCruiseDialingCampaignResponse struct { *tchttp.BaseResponse Response *CreateAgentCruiseDialingCampaignResponseParams `json:"Response"` }
func NewCreateAgentCruiseDialingCampaignResponse ¶
func NewCreateAgentCruiseDialingCampaignResponse() (response *CreateAgentCruiseDialingCampaignResponse)
func (*CreateAgentCruiseDialingCampaignResponse) FromJsonString ¶
func (r *CreateAgentCruiseDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAgentCruiseDialingCampaignResponse) ToJsonString ¶
func (r *CreateAgentCruiseDialingCampaignResponse) ToJsonString() string
type CreateAgentCruiseDialingCampaignResponseParams ¶
type CreateAgentCruiseDialingCampaignResponseParams struct { // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAutoCalloutTaskRequest ¶
type CreateAutoCalloutTaskRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task starting timestamp. Unix second-level timestamp. NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"` // List of called numbers. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // IVR used for calling. IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"` // Task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Task stop timestamp. Unix second-level timestamp. NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"` // Maximum attempts, 1-3 times Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"` // Custom variables (supported only in advanced versions). Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"` // UUI UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` // Property of the called. CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"` }
func NewCreateAutoCalloutTaskRequest ¶
func NewCreateAutoCalloutTaskRequest() (request *CreateAutoCalloutTaskRequest)
func (*CreateAutoCalloutTaskRequest) FromJsonString ¶
func (r *CreateAutoCalloutTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAutoCalloutTaskRequest) ToJsonString ¶
func (r *CreateAutoCalloutTaskRequest) ToJsonString() string
type CreateAutoCalloutTaskRequestParams ¶
type CreateAutoCalloutTaskRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task starting timestamp. Unix second-level timestamp. NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"` // List of called numbers. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // IVR used for calling. IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"` // Task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Task stop timestamp. Unix second-level timestamp. NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"` // Maximum attempts, 1-3 times Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"` // Custom variables (supported only in advanced versions). Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"` // UUI UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` // Property of the called. CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"` }
Predefined struct for user
type CreateAutoCalloutTaskResponse ¶
type CreateAutoCalloutTaskResponse struct { *tchttp.BaseResponse Response *CreateAutoCalloutTaskResponseParams `json:"Response"` }
func NewCreateAutoCalloutTaskResponse ¶
func NewCreateAutoCalloutTaskResponse() (response *CreateAutoCalloutTaskResponse)
func (*CreateAutoCalloutTaskResponse) FromJsonString ¶
func (r *CreateAutoCalloutTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAutoCalloutTaskResponse) ToJsonString ¶
func (r *CreateAutoCalloutTaskResponse) ToJsonString() string
type CreateAutoCalloutTaskResponseParams ¶
type CreateAutoCalloutTaskResponseParams struct { // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCCCSkillGroupRequest ¶
type CreateCCCSkillGroupRequest struct { *tchttp.BaseRequest // Application ID (required). SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Skill group type 0-Cell phone, 1-Online, 3-Audio, 4-Video. SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"` // The maximum number of people received by the skill group (the maximum number of people that one seat in this skill group can receive) is set to 1 by default. 1. If the skill group type is online, the maximum could be set to one and above. // 2. If the skill group type is phone, audio, or video, then the maximum must be 1 MaxConcurrency *uint64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"` }
func NewCreateCCCSkillGroupRequest ¶
func NewCreateCCCSkillGroupRequest() (request *CreateCCCSkillGroupRequest)
func (*CreateCCCSkillGroupRequest) FromJsonString ¶
func (r *CreateCCCSkillGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCCSkillGroupRequest) ToJsonString ¶
func (r *CreateCCCSkillGroupRequest) ToJsonString() string
type CreateCCCSkillGroupRequestParams ¶
type CreateCCCSkillGroupRequestParams struct { // Application ID (required). SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Skill group type 0-Cell phone, 1-Online, 3-Audio, 4-Video. SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"` // The maximum number of people received by the skill group (the maximum number of people that one seat in this skill group can receive) is set to 1 by default. 1. If the skill group type is online, the maximum could be set to one and above. // 2. If the skill group type is phone, audio, or video, then the maximum must be 1 MaxConcurrency *uint64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"` }
Predefined struct for user
type CreateCCCSkillGroupResponse ¶
type CreateCCCSkillGroupResponse struct { *tchttp.BaseResponse Response *CreateCCCSkillGroupResponseParams `json:"Response"` }
func NewCreateCCCSkillGroupResponse ¶
func NewCreateCCCSkillGroupResponse() (response *CreateCCCSkillGroupResponse)
func (*CreateCCCSkillGroupResponse) FromJsonString ¶
func (r *CreateCCCSkillGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCCSkillGroupResponse) ToJsonString ¶
func (r *CreateCCCSkillGroupResponse) ToJsonString() string
type CreateCCCSkillGroupResponseParams ¶
type CreateCCCSkillGroupResponseParams struct { // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCallOutSessionRequest ¶
type CreateCallOutSessionRequest struct { *tchttp.BaseRequest // Application ID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer Service User ID usually refers to the customer service email. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Called number must be preceded by 0086. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Caller number (obsolete one and use Callers) must be preceded by 0086. Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"` // Designated caller number list. If the prior number fails, it will automatically switch to the next number that must be preceded by 0086. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured. IsForceUseMobile *bool `json:"IsForceUseMobile,omitnil,omitempty" name:"IsForceUseMobile"` // Custom data, length limited to 1024 bytes. Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"` // Custom data, length limited to 1024 bytes. UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
func NewCreateCallOutSessionRequest ¶
func NewCreateCallOutSessionRequest() (request *CreateCallOutSessionRequest)
func (*CreateCallOutSessionRequest) FromJsonString ¶
func (r *CreateCallOutSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCallOutSessionRequest) ToJsonString ¶
func (r *CreateCallOutSessionRequest) ToJsonString() string
type CreateCallOutSessionRequestParams ¶
type CreateCallOutSessionRequestParams struct { // Application ID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer Service User ID usually refers to the customer service email. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Called number must be preceded by 0086. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Caller number (obsolete one and use Callers) must be preceded by 0086. Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"` // Designated caller number list. If the prior number fails, it will automatically switch to the next number that must be preceded by 0086. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured. IsForceUseMobile *bool `json:"IsForceUseMobile,omitnil,omitempty" name:"IsForceUseMobile"` // Custom data, length limited to 1024 bytes. // // Deprecated: Uui is deprecated. Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"` // Custom data, length limited to 1024 bytes. UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
Predefined struct for user
type CreateCallOutSessionResponse ¶
type CreateCallOutSessionResponse struct { *tchttp.BaseResponse Response *CreateCallOutSessionResponseParams `json:"Response"` }
func NewCreateCallOutSessionResponse ¶
func NewCreateCallOutSessionResponse() (response *CreateCallOutSessionResponse)
func (*CreateCallOutSessionResponse) FromJsonString ¶
func (r *CreateCallOutSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCallOutSessionResponse) ToJsonString ¶
func (r *CreateCallOutSessionResponse) ToJsonString() string
type CreateCallOutSessionResponseParams ¶
type CreateCallOutSessionResponseParams struct { // Newly created session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateExtensionRequest ¶
type CreateExtensionRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Extension name. ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"` // Bound skill group list. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Bound agent email. Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"` }
func NewCreateExtensionRequest ¶
func NewCreateExtensionRequest() (request *CreateExtensionRequest)
func (*CreateExtensionRequest) FromJsonString ¶
func (r *CreateExtensionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExtensionRequest) ToJsonString ¶
func (r *CreateExtensionRequest) ToJsonString() string
type CreateExtensionRequestParams ¶
type CreateExtensionRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Extension name. ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"` // Bound skill group list. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Bound agent email. Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"` }
Predefined struct for user
type CreateExtensionResponse ¶
type CreateExtensionResponse struct { *tchttp.BaseResponse Response *CreateExtensionResponseParams `json:"Response"` }
func NewCreateExtensionResponse ¶
func NewCreateExtensionResponse() (response *CreateExtensionResponse)
func (*CreateExtensionResponse) FromJsonString ¶
func (r *CreateExtensionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExtensionResponse) ToJsonString ¶
func (r *CreateExtensionResponse) ToJsonString() string
type CreateExtensionResponseParams ¶
type CreateExtensionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateIVRSessionRequest ¶
type CreateIVRSessionRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Called. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Specified IVR Id. Currently, it supports inbound and automatic outbound types IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Custom variable Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"` // User Data UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
func NewCreateIVRSessionRequest ¶
func NewCreateIVRSessionRequest() (request *CreateIVRSessionRequest)
func (*CreateIVRSessionRequest) FromJsonString ¶
func (r *CreateIVRSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIVRSessionRequest) ToJsonString ¶
func (r *CreateIVRSessionRequest) ToJsonString() string
type CreateIVRSessionRequestParams ¶
type CreateIVRSessionRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Called. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Specified IVR Id. Currently, it supports inbound and automatic outbound types IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // List of calling numbers. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Custom variable Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"` // User Data UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` }
Predefined struct for user
type CreateIVRSessionResponse ¶
type CreateIVRSessionResponse struct { *tchttp.BaseResponse Response *CreateIVRSessionResponseParams `json:"Response"` }
func NewCreateIVRSessionResponse ¶
func NewCreateIVRSessionResponse() (response *CreateIVRSessionResponse)
func (*CreateIVRSessionResponse) FromJsonString ¶
func (r *CreateIVRSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIVRSessionResponse) ToJsonString ¶
func (r *CreateIVRSessionResponse) ToJsonString() string
type CreateIVRSessionResponseParams ¶
type CreateIVRSessionResponseParams struct { // Newly created session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePredictiveDialingCampaignRequest ¶
type CreatePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // ID of the used skill group of agents. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Expected call drop rate, percentage, 5 - 50. ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"` // Call retry interval, in seconds, [60 - 86,400]. RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Specified IVR ID. IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // Number of call retries, 0 - 2. RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"` }
func NewCreatePredictiveDialingCampaignRequest ¶
func NewCreatePredictiveDialingCampaignRequest() (request *CreatePredictiveDialingCampaignRequest)
func (*CreatePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *CreatePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *CreatePredictiveDialingCampaignRequest) ToJsonString() string
type CreatePredictiveDialingCampaignRequestParams ¶
type CreatePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // ID of the used skill group of agents. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Expected call drop rate, percentage, 5 - 50. ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"` // Call retry interval, in seconds, [60 - 86,400]. RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Specified IVR ID. IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // Number of call retries, 0 - 2. RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"` }
Predefined struct for user
type CreatePredictiveDialingCampaignResponse ¶
type CreatePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *CreatePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewCreatePredictiveDialingCampaignResponse ¶
func NewCreatePredictiveDialingCampaignResponse() (response *CreatePredictiveDialingCampaignResponse)
func (*CreatePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *CreatePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *CreatePredictiveDialingCampaignResponse) ToJsonString() string
type CreatePredictiveDialingCampaignResponseParams ¶
type CreatePredictiveDialingCampaignResponseParams struct { // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSDKLoginTokenRequest ¶
type CreateSDKLoginTokenRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent account. SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"` // Whether the generated token is for one-time verification? OnlyOnce *bool `json:"OnlyOnce,omitnil,omitempty" name:"OnlyOnce"` }
func NewCreateSDKLoginTokenRequest ¶
func NewCreateSDKLoginTokenRequest() (request *CreateSDKLoginTokenRequest)
func (*CreateSDKLoginTokenRequest) FromJsonString ¶
func (r *CreateSDKLoginTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSDKLoginTokenRequest) ToJsonString ¶
func (r *CreateSDKLoginTokenRequest) ToJsonString() string
type CreateSDKLoginTokenRequestParams ¶
type CreateSDKLoginTokenRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent account. SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"` // Whether the generated token is for one-time verification? OnlyOnce *bool `json:"OnlyOnce,omitnil,omitempty" name:"OnlyOnce"` }
Predefined struct for user
type CreateSDKLoginTokenResponse ¶
type CreateSDKLoginTokenResponse struct { *tchttp.BaseResponse Response *CreateSDKLoginTokenResponseParams `json:"Response"` }
func NewCreateSDKLoginTokenResponse ¶
func NewCreateSDKLoginTokenResponse() (response *CreateSDKLoginTokenResponse)
func (*CreateSDKLoginTokenResponse) FromJsonString ¶
func (r *CreateSDKLoginTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSDKLoginTokenResponse) ToJsonString ¶
func (r *CreateSDKLoginTokenResponse) ToJsonString() string
type CreateSDKLoginTokenResponseParams ¶
type CreateSDKLoginTokenResponseParams struct { // SDK log-in Token. Token *string `json:"Token,omitnil,omitempty" name:"Token"` // Expiry timestamp. Unix timestamp. ExpiredTime *int64 `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // The path in which the SDK is loaded will change with its release. SdkURL *string `json:"SdkURL,omitnil,omitempty" name:"SdkURL"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateStaffRequest ¶
type CreateStaffRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer information, no more than 10. Staffs []*SeatUserInfo `json:"Staffs,omitnil,omitempty" name:"Staffs"` // Whether to send a password mail or not (the default is true) SendPassword *bool `json:"SendPassword,omitnil,omitempty" name:"SendPassword"` }
func NewCreateStaffRequest ¶
func NewCreateStaffRequest() (request *CreateStaffRequest)
func (*CreateStaffRequest) FromJsonString ¶
func (r *CreateStaffRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStaffRequest) ToJsonString ¶
func (r *CreateStaffRequest) ToJsonString() string
type CreateStaffRequestParams ¶
type CreateStaffRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer information, no more than 10. Staffs []*SeatUserInfo `json:"Staffs,omitnil,omitempty" name:"Staffs"` // Whether to send a password mail or not (the default is true) SendPassword *bool `json:"SendPassword,omitnil,omitempty" name:"SendPassword"` }
Predefined struct for user
type CreateStaffResponse ¶
type CreateStaffResponse struct { *tchttp.BaseResponse Response *CreateStaffResponseParams `json:"Response"` }
func NewCreateStaffResponse ¶
func NewCreateStaffResponse() (response *CreateStaffResponse)
func (*CreateStaffResponse) FromJsonString ¶
func (r *CreateStaffResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStaffResponse) ToJsonString ¶
func (r *CreateStaffResponse) ToJsonString() string
type CreateStaffResponseParams ¶
type CreateStaffResponseParams struct { // Error agent list and error information. // Note: This field may return null, indicating that no valid value could be obtained. ErrorStaffList []*ErrStaffItem `json:"ErrorStaffList,omitnil,omitempty" name:"ErrorStaffList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteExtensionRequest ¶
type DeleteExtensionRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
func NewDeleteExtensionRequest ¶
func NewDeleteExtensionRequest() (request *DeleteExtensionRequest)
func (*DeleteExtensionRequest) FromJsonString ¶
func (r *DeleteExtensionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExtensionRequest) ToJsonString ¶
func (r *DeleteExtensionRequest) ToJsonString() string
type DeleteExtensionRequestParams ¶
type DeleteExtensionRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
Predefined struct for user
type DeleteExtensionResponse ¶
type DeleteExtensionResponse struct { *tchttp.BaseResponse Response *DeleteExtensionResponseParams `json:"Response"` }
func NewDeleteExtensionResponse ¶
func NewDeleteExtensionResponse() (response *DeleteExtensionResponse)
func (*DeleteExtensionResponse) FromJsonString ¶
func (r *DeleteExtensionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExtensionResponse) ToJsonString ¶
func (r *DeleteExtensionResponse) ToJsonString() string
type DeleteExtensionResponseParams ¶
type DeleteExtensionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePredictiveDialingCampaignRequest ¶
type DeletePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewDeletePredictiveDialingCampaignRequest ¶
func NewDeletePredictiveDialingCampaignRequest() (request *DeletePredictiveDialingCampaignRequest)
func (*DeletePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *DeletePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *DeletePredictiveDialingCampaignRequest) ToJsonString() string
type DeletePredictiveDialingCampaignRequestParams ¶
type DeletePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type DeletePredictiveDialingCampaignResponse ¶
type DeletePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *DeletePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewDeletePredictiveDialingCampaignResponse ¶
func NewDeletePredictiveDialingCampaignResponse() (response *DeletePredictiveDialingCampaignResponse)
func (*DeletePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *DeletePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *DeletePredictiveDialingCampaignResponse) ToJsonString() string
type DeletePredictiveDialingCampaignResponseParams ¶
type DeletePredictiveDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteStaffRequest ¶
type DeleteStaffRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer service emails, supports up to 200 at a time. StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"` }
func NewDeleteStaffRequest ¶
func NewDeleteStaffRequest() (request *DeleteStaffRequest)
func (*DeleteStaffRequest) FromJsonString ¶
func (r *DeleteStaffRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStaffRequest) ToJsonString ¶
func (r *DeleteStaffRequest) ToJsonString() string
type DeleteStaffRequestParams ¶
type DeleteStaffRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer service emails, supports up to 200 at a time. StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"` }
Predefined struct for user
type DeleteStaffResponse ¶
type DeleteStaffResponse struct { *tchttp.BaseResponse Response *DeleteStaffResponseParams `json:"Response"` }
func NewDeleteStaffResponse ¶
func NewDeleteStaffResponse() (response *DeleteStaffResponse)
func (*DeleteStaffResponse) FromJsonString ¶
func (r *DeleteStaffResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStaffResponse) ToJsonString ¶
func (r *DeleteStaffResponse) ToJsonString() string
type DeleteStaffResponseParams ¶
type DeleteStaffResponseParams struct { // List of customer service staff that can't be deleted when being online. // Note: this field may return null, indicating that no valid values can be obtained. OnlineStaffList []*string `json:"OnlineStaffList,omitnil,omitempty" name:"OnlineStaffList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAgentCruiseDialingCampaignRequest ¶
type DescribeAgentCruiseDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewDescribeAgentCruiseDialingCampaignRequest ¶
func NewDescribeAgentCruiseDialingCampaignRequest() (request *DescribeAgentCruiseDialingCampaignRequest)
func (*DescribeAgentCruiseDialingCampaignRequest) FromJsonString ¶
func (r *DescribeAgentCruiseDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAgentCruiseDialingCampaignRequest) ToJsonString ¶
func (r *DescribeAgentCruiseDialingCampaignRequest) ToJsonString() string
type DescribeAgentCruiseDialingCampaignRequestParams ¶
type DescribeAgentCruiseDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type DescribeAgentCruiseDialingCampaignResponse ¶
type DescribeAgentCruiseDialingCampaignResponse struct { *tchttp.BaseResponse Response *DescribeAgentCruiseDialingCampaignResponseParams `json:"Response"` }
func NewDescribeAgentCruiseDialingCampaignResponse ¶
func NewDescribeAgentCruiseDialingCampaignResponse() (response *DescribeAgentCruiseDialingCampaignResponse)
func (*DescribeAgentCruiseDialingCampaignResponse) FromJsonString ¶
func (r *DescribeAgentCruiseDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAgentCruiseDialingCampaignResponse) ToJsonString ¶
func (r *DescribeAgentCruiseDialingCampaignResponse) ToJsonString() string
type DescribeAgentCruiseDialingCampaignResponseParams ¶
type DescribeAgentCruiseDialingCampaignResponseParams struct { // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent Account Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"` // Single-round Concurrent Call Volume 1-20 ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // Caller Custom Data, Maximum Length 1024 UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` // Task status 0 Not started 1 Running 2 Completed 3 Terminated State *int64 `json:"State,omitnil,omitempty" name:"State"` // Total number of called parties TotalCalleeCount *int64 `json:"TotalCalleeCount,omitnil,omitempty" name:"TotalCalleeCount"` // Number of called parties CalledCalleeCount *int64 `json:"CalledCalleeCount,omitnil,omitempty" name:"CalledCalleeCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoCalloutTaskRequest ¶
type DescribeAutoCalloutTaskRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDescribeAutoCalloutTaskRequest ¶
func NewDescribeAutoCalloutTaskRequest() (request *DescribeAutoCalloutTaskRequest)
func (*DescribeAutoCalloutTaskRequest) FromJsonString ¶
func (r *DescribeAutoCalloutTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoCalloutTaskRequest) ToJsonString ¶
func (r *DescribeAutoCalloutTaskRequest) ToJsonString() string
type DescribeAutoCalloutTaskRequestParams ¶
type DescribeAutoCalloutTaskRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeAutoCalloutTaskResponse ¶
type DescribeAutoCalloutTaskResponse struct { *tchttp.BaseResponse Response *DescribeAutoCalloutTaskResponseParams `json:"Response"` }
func NewDescribeAutoCalloutTaskResponse ¶
func NewDescribeAutoCalloutTaskResponse() (response *DescribeAutoCalloutTaskResponse)
func (*DescribeAutoCalloutTaskResponse) FromJsonString ¶
func (r *DescribeAutoCalloutTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoCalloutTaskResponse) ToJsonString ¶
func (r *DescribeAutoCalloutTaskResponse) ToJsonString() string
type DescribeAutoCalloutTaskResponseParams ¶
type DescribeAutoCalloutTaskResponseParams struct { // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task Description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Task start timestamp. NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"` // Task end timestamp. // Note: this field may return null, indicating that no valid values can be obtained. NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"` // Calling list. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Called information list. Callees []*AutoCalloutTaskCalleeInfo `json:"Callees,omitnil,omitempty" name:"Callees"` // IvrId used by the task. IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"` // Task status: 0 - initial, 1 - running, 2 - completed, 3 - ending, 4 - terminated. State *uint64 `json:"State,omitnil,omitempty" name:"State"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoCalloutTasksRequest ¶
type DescribeAutoCalloutTasksRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
func NewDescribeAutoCalloutTasksRequest ¶
func NewDescribeAutoCalloutTasksRequest() (request *DescribeAutoCalloutTasksRequest)
func (*DescribeAutoCalloutTasksRequest) FromJsonString ¶
func (r *DescribeAutoCalloutTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoCalloutTasksRequest) ToJsonString ¶
func (r *DescribeAutoCalloutTasksRequest) ToJsonString() string
type DescribeAutoCalloutTasksRequestParams ¶
type DescribeAutoCalloutTasksRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribeAutoCalloutTasksResponse ¶
type DescribeAutoCalloutTasksResponse struct { *tchttp.BaseResponse Response *DescribeAutoCalloutTasksResponseParams `json:"Response"` }
func NewDescribeAutoCalloutTasksResponse ¶
func NewDescribeAutoCalloutTasksResponse() (response *DescribeAutoCalloutTasksResponse)
func (*DescribeAutoCalloutTasksResponse) FromJsonString ¶
func (r *DescribeAutoCalloutTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoCalloutTasksResponse) ToJsonString ¶
func (r *DescribeAutoCalloutTasksResponse) ToJsonString() string
type DescribeAutoCalloutTasksResponseParams ¶
type DescribeAutoCalloutTasksResponseParams struct { // Total quantity. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Task list. Tasks []*AutoCalloutTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCCBuyInfoListRequest ¶
type DescribeCCCBuyInfoListRequest struct { *tchttp.BaseRequest // Application ID list, query all applications when not transmitted. SdkAppIds []*int64 `json:"SdkAppIds,omitnil,omitempty" name:"SdkAppIds"` }
func NewDescribeCCCBuyInfoListRequest ¶
func NewDescribeCCCBuyInfoListRequest() (request *DescribeCCCBuyInfoListRequest)
func (*DescribeCCCBuyInfoListRequest) FromJsonString ¶
func (r *DescribeCCCBuyInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCCBuyInfoListRequest) ToJsonString ¶
func (r *DescribeCCCBuyInfoListRequest) ToJsonString() string
type DescribeCCCBuyInfoListRequestParams ¶
type DescribeCCCBuyInfoListRequestParams struct { // Application ID list, query all applications when not transmitted. SdkAppIds []*int64 `json:"SdkAppIds,omitnil,omitempty" name:"SdkAppIds"` }
Predefined struct for user
type DescribeCCCBuyInfoListResponse ¶
type DescribeCCCBuyInfoListResponse struct { *tchttp.BaseResponse Response *DescribeCCCBuyInfoListResponseParams `json:"Response"` }
func NewDescribeCCCBuyInfoListResponse ¶
func NewDescribeCCCBuyInfoListResponse() (response *DescribeCCCBuyInfoListResponse)
func (*DescribeCCCBuyInfoListResponse) FromJsonString ¶
func (r *DescribeCCCBuyInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCCBuyInfoListResponse) ToJsonString ¶
func (r *DescribeCCCBuyInfoListResponse) ToJsonString() string
type DescribeCCCBuyInfoListResponseParams ¶
type DescribeCCCBuyInfoListResponseParams struct { // Total number of applications. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Application purchase information list. SdkAppIdBuyList []*SdkAppIdBuyInfo `json:"SdkAppIdBuyList,omitnil,omitempty" name:"SdkAppIdBuyList"` // Package purchase information list. PackageBuyList []*PackageBuyInfo `json:"PackageBuyList,omitnil,omitempty" name:"PackageBuyList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCallInMetricsRequest ¶
type DescribeCallInMetricsRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Whether to return skill group dimension information or not (the default is "Yes"). EnabledSkillGroup *bool `json:"EnabledSkillGroup,omitnil,omitempty" name:"EnabledSkillGroup"` // Whether to return line dimension information or not (the default is "No"). EnabledNumber *bool `json:"EnabledNumber,omitnil,omitempty" name:"EnabledNumber"` // Filter skill group list. GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"` }
func NewDescribeCallInMetricsRequest ¶
func NewDescribeCallInMetricsRequest() (request *DescribeCallInMetricsRequest)
func (*DescribeCallInMetricsRequest) FromJsonString ¶
func (r *DescribeCallInMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCallInMetricsRequest) ToJsonString ¶
func (r *DescribeCallInMetricsRequest) ToJsonString() string
type DescribeCallInMetricsRequestParams ¶
type DescribeCallInMetricsRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Whether to return skill group dimension information or not (the default is "Yes"). EnabledSkillGroup *bool `json:"EnabledSkillGroup,omitnil,omitempty" name:"EnabledSkillGroup"` // Whether to return line dimension information or not (the default is "No"). EnabledNumber *bool `json:"EnabledNumber,omitnil,omitempty" name:"EnabledNumber"` // Filter skill group list. GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"` }
Predefined struct for user
type DescribeCallInMetricsResponse ¶
type DescribeCallInMetricsResponse struct { *tchttp.BaseResponse Response *DescribeCallInMetricsResponseParams `json:"Response"` }
func NewDescribeCallInMetricsResponse ¶
func NewDescribeCallInMetricsResponse() (response *DescribeCallInMetricsResponse)
func (*DescribeCallInMetricsResponse) FromJsonString ¶
func (r *DescribeCallInMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCallInMetricsResponse) ToJsonString ¶
func (r *DescribeCallInMetricsResponse) ToJsonString() string
type DescribeCallInMetricsResponseParams ¶
type DescribeCallInMetricsResponseParams struct { // Timestamp. Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Overall metrics. TotalMetrics *CallInMetrics `json:"TotalMetrics,omitnil,omitempty" name:"TotalMetrics"` // Circuit dimension metrics. // Note: this field may return null, indicating that no valid values can be obtained. NumberMetrics []*CallInNumberMetrics `json:"NumberMetrics,omitnil,omitempty" name:"NumberMetrics"` // Skill group dimension metrics // Note: this field may return null, indicating that no valid values can be obtained. SkillGroupMetrics []*CallInSkillGroupMetrics `json:"SkillGroupMetrics,omitnil,omitempty" name:"SkillGroupMetrics"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExtensionRequest ¶
type DescribeExtensionRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
func NewDescribeExtensionRequest ¶
func NewDescribeExtensionRequest() (request *DescribeExtensionRequest)
func (*DescribeExtensionRequest) FromJsonString ¶
func (r *DescribeExtensionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionRequest) ToJsonString ¶
func (r *DescribeExtensionRequest) ToJsonString() string
type DescribeExtensionRequestParams ¶
type DescribeExtensionRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
Predefined struct for user
type DescribeExtensionResponse ¶
type DescribeExtensionResponse struct { *tchttp.BaseResponse Response *DescribeExtensionResponseParams `json:"Response"` }
func NewDescribeExtensionResponse ¶
func NewDescribeExtensionResponse() (response *DescribeExtensionResponse)
func (*DescribeExtensionResponse) FromJsonString ¶
func (r *DescribeExtensionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionResponse) ToJsonString ¶
func (r *DescribeExtensionResponse) ToJsonString() string
type DescribeExtensionResponseParams ¶
type DescribeExtensionResponseParams struct { // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Domain name ExtensionDomain *string `json:"ExtensionDomain,omitnil,omitempty" name:"ExtensionDomain"` // Registered password. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Proxy server address. OutboundProxy *string `json:"OutboundProxy,omitnil,omitempty" name:"OutboundProxy"` // Transfer protocol. Transport *string `json:"Transport,omitnil,omitempty" name:"Transport"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExtensionsRequest ¶
type DescribeExtensionsRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page number (starting from 0) PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Filtering extension number list ExtensionIds []*string `json:"ExtensionIds,omitnil,omitempty" name:"ExtensionIds"` // Page size PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Fuzzy query field (fuzzy query for extension number, extension name, agent email, and agent name). FuzzingKeyWord *string `json:"FuzzingKeyWord,omitnil,omitempty" name:"FuzzingKeyWord"` // Whether to return the current status of the telephone or not. IsNeedStatus *bool `json:"IsNeedStatus,omitnil,omitempty" name:"IsNeedStatus"` }
func NewDescribeExtensionsRequest ¶
func NewDescribeExtensionsRequest() (request *DescribeExtensionsRequest)
func (*DescribeExtensionsRequest) FromJsonString ¶
func (r *DescribeExtensionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionsRequest) ToJsonString ¶
func (r *DescribeExtensionsRequest) ToJsonString() string
type DescribeExtensionsRequestParams ¶
type DescribeExtensionsRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page number (starting from 0) PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Filtering extension number list ExtensionIds []*string `json:"ExtensionIds,omitnil,omitempty" name:"ExtensionIds"` // Page size PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Fuzzy query field (fuzzy query for extension number, extension name, agent email, and agent name). FuzzingKeyWord *string `json:"FuzzingKeyWord,omitnil,omitempty" name:"FuzzingKeyWord"` // Whether to return the current status of the telephone or not. IsNeedStatus *bool `json:"IsNeedStatus,omitnil,omitempty" name:"IsNeedStatus"` }
Predefined struct for user
type DescribeExtensionsResponse ¶
type DescribeExtensionsResponse struct { *tchttp.BaseResponse Response *DescribeExtensionsResponseParams `json:"Response"` }
func NewDescribeExtensionsResponse ¶
func NewDescribeExtensionsResponse() (response *DescribeExtensionsResponse)
func (*DescribeExtensionsResponse) FromJsonString ¶
func (r *DescribeExtensionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionsResponse) ToJsonString ¶
func (r *DescribeExtensionsResponse) ToJsonString() string
type DescribeExtensionsResponseParams ¶
type DescribeExtensionsResponseParams struct { // Total query count. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Telephone information list. ExtensionList []*ExtensionInfo `json:"ExtensionList,omitnil,omitempty" name:"ExtensionList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIvrAudioListRequest ¶
type DescribeIvrAudioListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 50 PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // File alias CustomFileName []*string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"` // Filename AudioFileName []*string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"` // File ID FileId []*uint64 `json:"FileId,omitnil,omitempty" name:"FileId"` }
func NewDescribeIvrAudioListRequest ¶
func NewDescribeIvrAudioListRequest() (request *DescribeIvrAudioListRequest)
func (*DescribeIvrAudioListRequest) FromJsonString ¶
func (r *DescribeIvrAudioListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIvrAudioListRequest) ToJsonString ¶
func (r *DescribeIvrAudioListRequest) ToJsonString() string
type DescribeIvrAudioListRequestParams ¶
type DescribeIvrAudioListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 50 PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // File alias CustomFileName []*string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"` // Filename AudioFileName []*string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"` // File ID FileId []*uint64 `json:"FileId,omitnil,omitempty" name:"FileId"` }
Predefined struct for user
type DescribeIvrAudioListResponse ¶
type DescribeIvrAudioListResponse struct { *tchttp.BaseResponse Response *DescribeIvrAudioListResponseParams `json:"Response"` }
func NewDescribeIvrAudioListResponse ¶
func NewDescribeIvrAudioListResponse() (response *DescribeIvrAudioListResponse)
func (*DescribeIvrAudioListResponse) FromJsonString ¶
func (r *DescribeIvrAudioListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIvrAudioListResponse) ToJsonString ¶
func (r *DescribeIvrAudioListResponse) ToJsonString() string
type DescribeIvrAudioListResponseParams ¶
type DescribeIvrAudioListResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // File Information FileInfo []*AudioFileInfo `json:"FileInfo,omitnil,omitempty" name:"FileInfo"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNumbersRequest ¶
type DescribeNumbersRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page number, starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Page size, default 20. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeNumbersRequest ¶
func NewDescribeNumbersRequest() (request *DescribeNumbersRequest)
func (*DescribeNumbersRequest) FromJsonString ¶
func (r *DescribeNumbersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNumbersRequest) ToJsonString ¶
func (r *DescribeNumbersRequest) ToJsonString() string
type DescribeNumbersRequestParams ¶
type DescribeNumbersRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page number, starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Page size, default 20. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeNumbersResponse ¶
type DescribeNumbersResponse struct { *tchttp.BaseResponse Response *DescribeNumbersResponseParams `json:"Response"` }
func NewDescribeNumbersResponse ¶
func NewDescribeNumbersResponse() (response *DescribeNumbersResponse)
func (*DescribeNumbersResponse) FromJsonString ¶
func (r *DescribeNumbersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNumbersResponse) ToJsonString ¶
func (r *DescribeNumbersResponse) ToJsonString() string
type DescribeNumbersResponseParams ¶
type DescribeNumbersResponseParams struct { // Total quantity TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Number list. Numbers []*NumberInfo `json:"Numbers,omitnil,omitempty" name:"Numbers"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePSTNActiveSessionListRequest ¶
type DescribePSTNActiveSessionListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Data offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned data entries, up to 25. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribePSTNActiveSessionListRequest ¶
func NewDescribePSTNActiveSessionListRequest() (request *DescribePSTNActiveSessionListRequest)
func (*DescribePSTNActiveSessionListRequest) FromJsonString ¶
func (r *DescribePSTNActiveSessionListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePSTNActiveSessionListRequest) ToJsonString ¶
func (r *DescribePSTNActiveSessionListRequest) ToJsonString() string
type DescribePSTNActiveSessionListRequestParams ¶
type DescribePSTNActiveSessionListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Data offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned data entries, up to 25. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribePSTNActiveSessionListResponse ¶
type DescribePSTNActiveSessionListResponse struct { *tchttp.BaseResponse Response *DescribePSTNActiveSessionListResponseParams `json:"Response"` }
func NewDescribePSTNActiveSessionListResponse ¶
func NewDescribePSTNActiveSessionListResponse() (response *DescribePSTNActiveSessionListResponse)
func (*DescribePSTNActiveSessionListResponse) FromJsonString ¶
func (r *DescribePSTNActiveSessionListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePSTNActiveSessionListResponse) ToJsonString ¶
func (r *DescribePSTNActiveSessionListResponse) ToJsonString() string
type DescribePSTNActiveSessionListResponseParams ¶
type DescribePSTNActiveSessionListResponseParams struct { // Total number of items in the list. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // List content. Sessions []*PSTNSessionInfo `json:"Sessions,omitnil,omitempty" name:"Sessions"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePredictiveDialingCampaignRequest ¶
type DescribePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewDescribePredictiveDialingCampaignRequest ¶
func NewDescribePredictiveDialingCampaignRequest() (request *DescribePredictiveDialingCampaignRequest)
func (*DescribePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *DescribePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *DescribePredictiveDialingCampaignRequest) ToJsonString() string
type DescribePredictiveDialingCampaignRequestParams ¶
type DescribePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type DescribePredictiveDialingCampaignResponse ¶
type DescribePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *DescribePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewDescribePredictiveDialingCampaignResponse ¶
func NewDescribePredictiveDialingCampaignResponse() (response *DescribePredictiveDialingCampaignResponse)
func (*DescribePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *DescribePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *DescribePredictiveDialingCampaignResponse) ToJsonString() string
type DescribePredictiveDialingCampaignResponseParams ¶
type DescribePredictiveDialingCampaignResponseParams struct { // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // ID of the used skill group of agents. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Specified IVR ID. IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Expected call drop rate, percentage, 5 - 50. ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"` // Number of call retries, 0 - 2. RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"` // Call retry interval, in seconds, [60 - 86,400]. RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePredictiveDialingCampaignsElement ¶
type DescribePredictiveDialingCampaignsElement struct { // Task ID // Note: This field may return null if no valid value is obtained. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Task Name // Note: This field might return null if no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task status 0 - Ready to start, 1 - In progress, 2 - Paused, 3 - Terminated, 4 - Completed. // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Task status reasons 0 - Normal, 1 - Manually ended, 2 - Ended due to overtime. // Note: this field may return null, indicating that no valid values can be obtained. StatusReason *int64 `json:"StatusReason,omitnil,omitempty" name:"StatusReason"` // Number of called numbers. // Note: this field may return null, indicating that no valid values can be obtained. CalleeCount *int64 `json:"CalleeCount,omitnil,omitempty" name:"CalleeCount"` // Number of completed calls. // Note: this field may return null, indicating that no valid values can be obtained. FinishedCalleeCount *int64 `json:"FinishedCalleeCount,omitnil,omitempty" name:"FinishedCalleeCount"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. // Note: this field may return null, indicating that no valid values can be obtained. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // ID of the used skill group of agents. // Note: this field may return null, indicating that no valid values can be obtained. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` }
type DescribePredictiveDialingCampaignsRequest ¶
type DescribePredictiveDialingCampaignsRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, 100 maximum. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Query the task list name keyword. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Query task list skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` }
func NewDescribePredictiveDialingCampaignsRequest ¶
func NewDescribePredictiveDialingCampaignsRequest() (request *DescribePredictiveDialingCampaignsRequest)
func (*DescribePredictiveDialingCampaignsRequest) FromJsonString ¶
func (r *DescribePredictiveDialingCampaignsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingCampaignsRequest) ToJsonString ¶
func (r *DescribePredictiveDialingCampaignsRequest) ToJsonString() string
type DescribePredictiveDialingCampaignsRequestParams ¶
type DescribePredictiveDialingCampaignsRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, 100 maximum. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Query the task list name keyword. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Query task list skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` }
Predefined struct for user
type DescribePredictiveDialingCampaignsResponse ¶
type DescribePredictiveDialingCampaignsResponse struct { *tchttp.BaseResponse Response *DescribePredictiveDialingCampaignsResponseParams `json:"Response"` }
func NewDescribePredictiveDialingCampaignsResponse ¶
func NewDescribePredictiveDialingCampaignsResponse() (response *DescribePredictiveDialingCampaignsResponse)
func (*DescribePredictiveDialingCampaignsResponse) FromJsonString ¶
func (r *DescribePredictiveDialingCampaignsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingCampaignsResponse) ToJsonString ¶
func (r *DescribePredictiveDialingCampaignsResponse) ToJsonString() string
type DescribePredictiveDialingCampaignsResponseParams ¶
type DescribePredictiveDialingCampaignsResponseParams struct { // Total data volume. // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Data // Note: This field may return null, indicating that no valid values can be obtained. CampaignList []*DescribePredictiveDialingCampaignsElement `json:"CampaignList,omitnil,omitempty" name:"CampaignList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePredictiveDialingSessionsRequest ¶
type DescribePredictiveDialingSessionsRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Page size, maximum of 1000 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
func NewDescribePredictiveDialingSessionsRequest ¶
func NewDescribePredictiveDialingSessionsRequest() (request *DescribePredictiveDialingSessionsRequest)
func (*DescribePredictiveDialingSessionsRequest) FromJsonString ¶
func (r *DescribePredictiveDialingSessionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingSessionsRequest) ToJsonString ¶
func (r *DescribePredictiveDialingSessionsRequest) ToJsonString() string
type DescribePredictiveDialingSessionsRequestParams ¶
type DescribePredictiveDialingSessionsRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Page size, maximum of 1000 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribePredictiveDialingSessionsResponse ¶
type DescribePredictiveDialingSessionsResponse struct { *tchttp.BaseResponse Response *DescribePredictiveDialingSessionsResponseParams `json:"Response"` }
func NewDescribePredictiveDialingSessionsResponse ¶
func NewDescribePredictiveDialingSessionsResponse() (response *DescribePredictiveDialingSessionsResponse)
func (*DescribePredictiveDialingSessionsResponse) FromJsonString ¶
func (r *DescribePredictiveDialingSessionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePredictiveDialingSessionsResponse) ToJsonString ¶
func (r *DescribePredictiveDialingSessionsResponse) ToJsonString() string
type DescribePredictiveDialingSessionsResponseParams ¶
type DescribePredictiveDialingSessionsResponseParams struct { // Total data volume. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of session IDs for a call. You can access detailed call bills in batches through https://intl.cloud.tencent.com/document/product/679/47714.?from_cn_redirect=1 SessionList []*string `json:"SessionList,omitnil,omitempty" name:"SessionList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProtectedTelCdrRequest ¶
type DescribeProtectedTelCdrRequest struct { *tchttp.BaseRequest // Start timestamp. Unix second-level timestamp. StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp. Unix second-level timestamp. EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // For the Application ID, go to https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 100. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
func NewDescribeProtectedTelCdrRequest ¶
func NewDescribeProtectedTelCdrRequest() (request *DescribeProtectedTelCdrRequest)
func (*DescribeProtectedTelCdrRequest) FromJsonString ¶
func (r *DescribeProtectedTelCdrRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProtectedTelCdrRequest) ToJsonString ¶
func (r *DescribeProtectedTelCdrRequest) ToJsonString() string
type DescribeProtectedTelCdrRequestParams ¶
type DescribeProtectedTelCdrRequestParams struct { // Start timestamp. Unix second-level timestamp. StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp. Unix second-level timestamp. EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // For the Application ID, go to https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 100. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribeProtectedTelCdrResponse ¶
type DescribeProtectedTelCdrResponse struct { *tchttp.BaseResponse Response *DescribeProtectedTelCdrResponseParams `json:"Response"` }
func NewDescribeProtectedTelCdrResponse ¶
func NewDescribeProtectedTelCdrResponse() (response *DescribeProtectedTelCdrResponse)
func (*DescribeProtectedTelCdrResponse) FromJsonString ¶
func (r *DescribeProtectedTelCdrResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProtectedTelCdrResponse) ToJsonString ¶
func (r *DescribeProtectedTelCdrResponse) ToJsonString() string
type DescribeProtectedTelCdrResponseParams ¶
type DescribeProtectedTelCdrResponseParams struct { // Total number of call records. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Call record. // // Deprecated: TelCdrs is deprecated. TelCdrs []*TelCdrInfo `json:"TelCdrs,omitnil,omitempty" name:"TelCdrs"` // Call record. TelCdrList []*TelCdrInfo `json:"TelCdrList,omitnil,omitempty" name:"TelCdrList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSkillGroupInfoListRequest ¶
type DescribeSkillGroupInfoListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Using skill group ID when querying a single skill group. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Used when querying skill groups with a modified time greater or equal to ModifiedTime. ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` }
func NewDescribeSkillGroupInfoListRequest ¶
func NewDescribeSkillGroupInfoListRequest() (request *DescribeSkillGroupInfoListRequest)
func (*DescribeSkillGroupInfoListRequest) FromJsonString ¶
func (r *DescribeSkillGroupInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSkillGroupInfoListRequest) ToJsonString ¶
func (r *DescribeSkillGroupInfoListRequest) ToJsonString() string
type DescribeSkillGroupInfoListRequestParams ¶
type DescribeSkillGroupInfoListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Using skill group ID when querying a single skill group. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Used when querying skill groups with a modified time greater or equal to ModifiedTime. ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` }
Predefined struct for user
type DescribeSkillGroupInfoListResponse ¶
type DescribeSkillGroupInfoListResponse struct { *tchttp.BaseResponse Response *DescribeSkillGroupInfoListResponseParams `json:"Response"` }
func NewDescribeSkillGroupInfoListResponse ¶
func NewDescribeSkillGroupInfoListResponse() (response *DescribeSkillGroupInfoListResponse)
func (*DescribeSkillGroupInfoListResponse) FromJsonString ¶
func (r *DescribeSkillGroupInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSkillGroupInfoListResponse) ToJsonString ¶
func (r *DescribeSkillGroupInfoListResponse) ToJsonString() string
type DescribeSkillGroupInfoListResponseParams ¶
type DescribeSkillGroupInfoListResponseParams struct { // Total number of skill groups. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Skill Group Information List. SkillGroupList []*SkillGroupInfoItem `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStaffInfoListRequest ¶
type DescribeStaffInfoListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 9,999 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Agent account used when querying a single agent. StaffMail *string `json:"StaffMail,omitnil,omitempty" name:"StaffMail"` // Use when querying for agents with a modification time greater or equal to ModifiedTime. ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"` // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` }
func NewDescribeStaffInfoListRequest ¶
func NewDescribeStaffInfoListRequest() (request *DescribeStaffInfoListRequest)
func (*DescribeStaffInfoListRequest) FromJsonString ¶
func (r *DescribeStaffInfoListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStaffInfoListRequest) ToJsonString ¶
func (r *DescribeStaffInfoListRequest) ToJsonString() string
type DescribeStaffInfoListRequestParams ¶
type DescribeStaffInfoListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size, upper limit 9,999 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Agent account used when querying a single agent. StaffMail *string `json:"StaffMail,omitnil,omitempty" name:"StaffMail"` // Use when querying for agents with a modification time greater or equal to ModifiedTime. ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"` // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` }
Predefined struct for user
type DescribeStaffInfoListResponse ¶
type DescribeStaffInfoListResponse struct { *tchttp.BaseResponse Response *DescribeStaffInfoListResponseParams `json:"Response"` }
func NewDescribeStaffInfoListResponse ¶
func NewDescribeStaffInfoListResponse() (response *DescribeStaffInfoListResponse)
func (*DescribeStaffInfoListResponse) FromJsonString ¶
func (r *DescribeStaffInfoListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStaffInfoListResponse) ToJsonString ¶
func (r *DescribeStaffInfoListResponse) ToJsonString() string
type DescribeStaffInfoListResponseParams ¶
type DescribeStaffInfoListResponseParams struct { // Total number of agent users. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Agent user information list. StaffList []*StaffInfo `json:"StaffList,omitnil,omitempty" name:"StaffList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStaffStatusMetricsRequest ¶
type DescribeStaffStatusMetricsRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Filter agent list. By default, do not pass all returned agent information. StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"` // Filter skill group ID list. GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"` // Filter agent status list Agent status free Available | busy Busy | rest On Break | notReady Not Ready | afterCallWork Post-call Adjustment | offline Offline StatusList []*string `json:"StatusList,omitnil,omitempty" name:"StatusList"` }
func NewDescribeStaffStatusMetricsRequest ¶
func NewDescribeStaffStatusMetricsRequest() (request *DescribeStaffStatusMetricsRequest)
func (*DescribeStaffStatusMetricsRequest) FromJsonString ¶
func (r *DescribeStaffStatusMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStaffStatusMetricsRequest) ToJsonString ¶
func (r *DescribeStaffStatusMetricsRequest) ToJsonString() string
type DescribeStaffStatusMetricsRequestParams ¶
type DescribeStaffStatusMetricsRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Filter agent list. By default, do not pass all returned agent information. StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"` // Filter skill group ID list. GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"` // Filter agent status list Agent status free Available | busy Busy | rest On Break | notReady Not Ready | afterCallWork Post-call Adjustment | offline Offline StatusList []*string `json:"StatusList,omitnil,omitempty" name:"StatusList"` }
Predefined struct for user
type DescribeStaffStatusMetricsResponse ¶
type DescribeStaffStatusMetricsResponse struct { *tchttp.BaseResponse Response *DescribeStaffStatusMetricsResponseParams `json:"Response"` }
func NewDescribeStaffStatusMetricsResponse ¶
func NewDescribeStaffStatusMetricsResponse() (response *DescribeStaffStatusMetricsResponse)
func (*DescribeStaffStatusMetricsResponse) FromJsonString ¶
func (r *DescribeStaffStatusMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStaffStatusMetricsResponse) ToJsonString ¶
func (r *DescribeStaffStatusMetricsResponse) ToJsonString() string
type DescribeStaffStatusMetricsResponseParams ¶
type DescribeStaffStatusMetricsResponseParams struct { // Real-time information on agent status. Metrics []*StaffStatusMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTelCallInfoRequest ¶
type DescribeTelCallInfoRequest struct { *tchttp.BaseRequest // Start timestamp, Unix timestamp (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp) StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp, Unix timestamp, the query time range is up to 90 days (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp) EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // Application ID list, when having multiple IDs, the returned value is the sum of all the IDs. SdkAppIdList []*int64 `json:"SdkAppIdList,omitnil,omitempty" name:"SdkAppIdList"` }
func NewDescribeTelCallInfoRequest ¶
func NewDescribeTelCallInfoRequest() (request *DescribeTelCallInfoRequest)
func (*DescribeTelCallInfoRequest) FromJsonString ¶
func (r *DescribeTelCallInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelCallInfoRequest) ToJsonString ¶
func (r *DescribeTelCallInfoRequest) ToJsonString() string
type DescribeTelCallInfoRequestParams ¶
type DescribeTelCallInfoRequestParams struct { // Start timestamp, Unix timestamp (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp) StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp, Unix timestamp, the query time range is up to 90 days (query dimension supports only daily. For example, to query May 1st, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59" timestamp. To query May 1st and May 2nd, pass startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59" timestamp) EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // Application ID list, when having multiple IDs, the returned value is the sum of all the IDs. SdkAppIdList []*int64 `json:"SdkAppIdList,omitnil,omitempty" name:"SdkAppIdList"` }
Predefined struct for user
type DescribeTelCallInfoResponse ¶
type DescribeTelCallInfoResponse struct { *tchttp.BaseResponse Response *DescribeTelCallInfoResponseParams `json:"Response"` }
func NewDescribeTelCallInfoResponse ¶
func NewDescribeTelCallInfoResponse() (response *DescribeTelCallInfoResponse)
func (*DescribeTelCallInfoResponse) FromJsonString ¶
func (r *DescribeTelCallInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelCallInfoResponse) ToJsonString ¶
func (r *DescribeTelCallInfoResponse) ToJsonString() string
type DescribeTelCallInfoResponseParams ¶
type DescribeTelCallInfoResponseParams struct { // Number of minutes consumed by Outbound Package. TelCallOutCount *int64 `json:"TelCallOutCount,omitnil,omitempty" name:"TelCallOutCount"` // Number of minutes consumed by Inbound Package. TelCallInCount *int64 `json:"TelCallInCount,omitnil,omitempty" name:"TelCallInCount"` // Number of agent usage statistics. SeatUsedCount *int64 `json:"SeatUsedCount,omitnil,omitempty" name:"SeatUsedCount"` // Number of minutes consumed by Audio package. // // Deprecated: VoipCallInCount is deprecated. VoipCallInCount *int64 `json:"VoipCallInCount,omitnil,omitempty" name:"VoipCallInCount"` // Number of minutes consumed by Audio package. VOIPCallInCount *int64 `json:"VOIPCallInCount,omitnil,omitempty" name:"VOIPCallInCount"` // Number of minutes consumed by Offline Speech-to-Text Package. AsrOfflineCount *int64 `json:"AsrOfflineCount,omitnil,omitempty" name:"AsrOfflineCount"` // Number of minutes consumed by Real-time Speech-to-Text Package. AsrRealtimeCount *int64 `json:"AsrRealtimeCount,omitnil,omitempty" name:"AsrRealtimeCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTelCdrRequest ¶
type DescribeTelCdrRequest struct { *tchttp.BaseRequest // Start timestamp, Unix Timestamp in Seconds. Supports up to the past 180 days. StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp, Unix Timestamp in Seconds. The range between the end time and start time is less than 90 days. EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // Instance ID (deprecated). InstanceId *int64 `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Maximum number of returned entries (deprecated). Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset (deprecated). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size (required), up to 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number (required), starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Filter by Phone Number. Phones []*string `json:"Phones,omitnil,omitempty" name:"Phones"` // Filter by SessionId. SessionIds []*string `json:"SessionIds,omitnil,omitempty" name:"SessionIds"` }
func NewDescribeTelCdrRequest ¶
func NewDescribeTelCdrRequest() (request *DescribeTelCdrRequest)
func (*DescribeTelCdrRequest) FromJsonString ¶
func (r *DescribeTelCdrRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelCdrRequest) ToJsonString ¶
func (r *DescribeTelCdrRequest) ToJsonString() string
type DescribeTelCdrRequestParams ¶
type DescribeTelCdrRequestParams struct { // Start timestamp, Unix Timestamp in Seconds. Supports up to the past 180 days. StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"` // End timestamp, Unix Timestamp in Seconds. The range between the end time and start time is less than 90 days. EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"` // Instance ID (deprecated). // // Deprecated: InstanceId is deprecated. InstanceId *int64 `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Maximum number of returned entries (deprecated). Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset (deprecated). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Page size (required), up to 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number (required), starting from 0. PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // Filter by Phone Number. Phones []*string `json:"Phones,omitnil,omitempty" name:"Phones"` // Filter by SessionId. SessionIds []*string `json:"SessionIds,omitnil,omitempty" name:"SessionIds"` }
Predefined struct for user
type DescribeTelCdrResponse ¶
type DescribeTelCdrResponse struct { *tchttp.BaseResponse Response *DescribeTelCdrResponseParams `json:"Response"` }
func NewDescribeTelCdrResponse ¶
func NewDescribeTelCdrResponse() (response *DescribeTelCdrResponse)
func (*DescribeTelCdrResponse) FromJsonString ¶
func (r *DescribeTelCdrResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelCdrResponse) ToJsonString ¶
func (r *DescribeTelCdrResponse) ToJsonString() string
type DescribeTelCdrResponseParams ¶
type DescribeTelCdrResponseParams struct { // Total number of call records. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Call record. // // Deprecated: TelCdrs is deprecated. TelCdrs []*TelCdrInfo `json:"TelCdrs,omitnil,omitempty" name:"TelCdrs"` // Call record. TelCdrList []*TelCdrInfo `json:"TelCdrList,omitnil,omitempty" name:"TelCdrList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTelSessionRequest ¶
type DescribeTelSessionRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
func NewDescribeTelSessionRequest ¶
func NewDescribeTelSessionRequest() (request *DescribeTelSessionRequest)
func (*DescribeTelSessionRequest) FromJsonString ¶
func (r *DescribeTelSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelSessionRequest) ToJsonString ¶
func (r *DescribeTelSessionRequest) ToJsonString() string
type DescribeTelSessionRequestParams ¶
type DescribeTelSessionRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
Predefined struct for user
type DescribeTelSessionResponse ¶
type DescribeTelSessionResponse struct { *tchttp.BaseResponse Response *DescribeTelSessionResponseParams `json:"Response"` }
func NewDescribeTelSessionResponse ¶
func NewDescribeTelSessionResponse() (response *DescribeTelSessionResponse)
func (*DescribeTelSessionResponse) FromJsonString ¶
func (r *DescribeTelSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTelSessionResponse) ToJsonString ¶
func (r *DescribeTelSessionResponse) ToJsonString() string
type DescribeTelSessionResponseParams ¶
type DescribeTelSessionResponseParams struct { // Session information. Session *PSTNSession `json:"Session,omitnil,omitempty" name:"Session"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableCCCPhoneNumberRequest ¶
type DisableCCCPhoneNumberRequest struct { *tchttp.BaseRequest // Number list starting with 0086. PhoneNumbers []*string `json:"PhoneNumbers,omitnil,omitempty" name:"PhoneNumbers"` // Disable switch: 0 for enable, 1 for disable. Disabled *int64 `json:"Disabled,omitnil,omitempty" name:"Disabled"` // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` }
func NewDisableCCCPhoneNumberRequest ¶
func NewDisableCCCPhoneNumberRequest() (request *DisableCCCPhoneNumberRequest)
func (*DisableCCCPhoneNumberRequest) FromJsonString ¶
func (r *DisableCCCPhoneNumberRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableCCCPhoneNumberRequest) ToJsonString ¶
func (r *DisableCCCPhoneNumberRequest) ToJsonString() string
type DisableCCCPhoneNumberRequestParams ¶
type DisableCCCPhoneNumberRequestParams struct { // Number list starting with 0086. PhoneNumbers []*string `json:"PhoneNumbers,omitnil,omitempty" name:"PhoneNumbers"` // Disable switch: 0 for enable, 1 for disable. Disabled *int64 `json:"Disabled,omitnil,omitempty" name:"Disabled"` // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` }
Predefined struct for user
type DisableCCCPhoneNumberResponse ¶
type DisableCCCPhoneNumberResponse struct { *tchttp.BaseResponse Response *DisableCCCPhoneNumberResponseParams `json:"Response"` }
func NewDisableCCCPhoneNumberResponse ¶
func NewDisableCCCPhoneNumberResponse() (response *DisableCCCPhoneNumberResponse)
func (*DisableCCCPhoneNumberResponse) FromJsonString ¶
func (r *DisableCCCPhoneNumberResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableCCCPhoneNumberResponse) ToJsonString ¶
func (r *DisableCCCPhoneNumberResponse) ToJsonString() string
type DisableCCCPhoneNumberResponseParams ¶
type DisableCCCPhoneNumberResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ErrStaffItem ¶
type ExtensionInfo ¶
type ExtensionInfo struct { // Instance ID. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension full name. FullExtensionId *string `json:"FullExtensionId,omitnil,omitempty" name:"FullExtensionId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Affiliated skill group list. SkillGroupId *string `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Extension name. ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"` // Creation Time CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last modification time. ModifyTime *int64 `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Telephone status (0 Offline, 100 Free, 200 Busy). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether to register. Register *bool `json:"Register,omitnil,omitempty" name:"Register"` // Bind Agent Email Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"` // Bind Agent Name RelationName *string `json:"RelationName,omitnil,omitempty" name:"RelationName"` }
type HangUpCallRequest ¶
type HangUpCallRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
func NewHangUpCallRequest ¶
func NewHangUpCallRequest() (request *HangUpCallRequest)
func (*HangUpCallRequest) FromJsonString ¶
func (r *HangUpCallRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*HangUpCallRequest) ToJsonString ¶
func (r *HangUpCallRequest) ToJsonString() string
type HangUpCallRequestParams ¶
type HangUpCallRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Session ID. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
Predefined struct for user
type HangUpCallResponse ¶
type HangUpCallResponse struct { *tchttp.BaseResponse Response *HangUpCallResponseParams `json:"Response"` }
func NewHangUpCallResponse ¶
func NewHangUpCallResponse() (response *HangUpCallResponse)
func (*HangUpCallResponse) FromJsonString ¶
func (r *HangUpCallResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*HangUpCallResponse) ToJsonString ¶
func (r *HangUpCallResponse) ToJsonString() string
type HangUpCallResponseParams ¶
type HangUpCallResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IVRKeyPressedElement ¶
type IVRKeyPressedElement struct { // Key. // Note: this field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Tag associated with key. // Note: this field may return null, indicating that no valid values can be obtained. Label *string `json:"Label,omitnil,omitempty" name:"Label"` }
type ModifyExtensionRequest ¶
type ModifyExtensionRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Extension name. ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"` // Affiliated skill group list. SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Bind agent email account. Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"` }
func NewModifyExtensionRequest ¶
func NewModifyExtensionRequest() (request *ModifyExtensionRequest)
func (*ModifyExtensionRequest) FromJsonString ¶
func (r *ModifyExtensionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyExtensionRequest) ToJsonString ¶
func (r *ModifyExtensionRequest) ToJsonString() string
type ModifyExtensionRequestParams ¶
type ModifyExtensionRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` // Extension name. ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"` // Affiliated skill group list. SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Bind agent email account. Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"` }
Predefined struct for user
type ModifyExtensionResponse ¶
type ModifyExtensionResponse struct { *tchttp.BaseResponse Response *ModifyExtensionResponseParams `json:"Response"` }
func NewModifyExtensionResponse ¶
func NewModifyExtensionResponse() (response *ModifyExtensionResponse)
func (*ModifyExtensionResponse) FromJsonString ¶
func (r *ModifyExtensionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyExtensionResponse) ToJsonString ¶
func (r *ModifyExtensionResponse) ToJsonString() string
type ModifyExtensionResponseParams ¶
type ModifyExtensionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyStaffPasswordRequest ¶
type ModifyStaffPasswordRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent email. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // The set password Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
func NewModifyStaffPasswordRequest ¶
func NewModifyStaffPasswordRequest() (request *ModifyStaffPasswordRequest)
func (*ModifyStaffPasswordRequest) FromJsonString ¶
func (r *ModifyStaffPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStaffPasswordRequest) ToJsonString ¶
func (r *ModifyStaffPasswordRequest) ToJsonString() string
type ModifyStaffPasswordRequestParams ¶
type ModifyStaffPasswordRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent email. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // The set password Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
Predefined struct for user
type ModifyStaffPasswordResponse ¶
type ModifyStaffPasswordResponse struct { *tchttp.BaseResponse Response *ModifyStaffPasswordResponseParams `json:"Response"` }
func NewModifyStaffPasswordResponse ¶
func NewModifyStaffPasswordResponse() (response *ModifyStaffPasswordResponse)
func (*ModifyStaffPasswordResponse) FromJsonString ¶
func (r *ModifyStaffPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStaffPasswordResponse) ToJsonString ¶
func (r *ModifyStaffPasswordResponse) ToJsonString() string
type ModifyStaffPasswordResponseParams ¶
type ModifyStaffPasswordResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyStaffRequest ¶
type ModifyStaffRequest struct { *tchttp.BaseRequest // Application ID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent account. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Agent name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent phone number (preceded by 0086, example: 008618011111111). Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Agent nickname. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // Agent ID StaffNo *string `json:"StaffNo,omitnil,omitempty" name:"StaffNo"` // Bind skill group ID list. SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Whether the cell phone outbound call switch is enabled or not. UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"` // Cell phone answering pattern: 0 - Off | 1 - Only when Offline | 2 - Always. UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"` }
func NewModifyStaffRequest ¶
func NewModifyStaffRequest() (request *ModifyStaffRequest)
func (*ModifyStaffRequest) FromJsonString ¶
func (r *ModifyStaffRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStaffRequest) ToJsonString ¶
func (r *ModifyStaffRequest) ToJsonString() string
type ModifyStaffRequestParams ¶
type ModifyStaffRequestParams struct { // Application ID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Agent account. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Agent name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent phone number (preceded by 0086, example: 008618011111111). Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Agent nickname. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // Agent ID StaffNo *string `json:"StaffNo,omitnil,omitempty" name:"StaffNo"` // Bind skill group ID list. SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` // Whether the cell phone outbound call switch is enabled or not. UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"` // Cell phone answering pattern: 0 - Off | 1 - Only when Offline | 2 - Always. UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"` }
Predefined struct for user
type ModifyStaffResponse ¶
type ModifyStaffResponse struct { *tchttp.BaseResponse Response *ModifyStaffResponseParams `json:"Response"` }
func NewModifyStaffResponse ¶
func NewModifyStaffResponse() (response *ModifyStaffResponse)
func (*ModifyStaffResponse) FromJsonString ¶
func (r *ModifyStaffResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStaffResponse) ToJsonString ¶
func (r *ModifyStaffResponse) ToJsonString() string
type ModifyStaffResponseParams ¶
type ModifyStaffResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NumberInfo ¶
type NumberInfo struct { // Number. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // Bound outbound call skill group. CallOutSkillGroupIds []*uint64 `json:"CallOutSkillGroupIds,omitnil,omitempty" name:"CallOutSkillGroupIds"` // Number status, 1-normal, 2-disabled due to overdue payment, 4-disabled by the administrator, 5-disabled due to violation. State *int64 `json:"State,omitnil,omitempty" name:"State"` }
type PSTNSession ¶
type PSTNSession struct { // Session ID. SessionID *string `json:"SessionID,omitnil,omitempty" name:"SessionID"` // Temporary room ID for session. RoomID *string `json:"RoomID,omitnil,omitempty" name:"RoomID"` // Caller. Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"` // Called. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Start time. Unix timestamp. StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"` // Ring time. Unix timestamp. RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"` // Answer time. Unix timestamp. AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"` // Agent email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Agent ID StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"` // Session Status // ringing Ringing // seatJoining waiting for the agent to answer // inProgress Ongoing // finished - Completed. SessionStatus *string `json:"SessionStatus,omitnil,omitempty" name:"SessionStatus"` // Session call direction, 0 - Inbound | 1 - Outbound. Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"` // The number used for transferring to the external line (Outbound Caller). OutBoundCaller *string `json:"OutBoundCaller,omitnil,omitempty" name:"OutBoundCaller"` // Outbound callee. OutBoundCallee *string `json:"OutBoundCallee,omitnil,omitempty" name:"OutBoundCallee"` // Caller number protection ID. Effective when the number protection map feature is activated, and the Caller field is empty. ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"` // Called number protection ID. Effective when the number protection map feature is activated, and the Callee field is empty. ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"` }
type PSTNSessionInfo ¶
type PSTNSessionInfo struct { // Session ID. SessionID *string `json:"SessionID,omitnil,omitempty" name:"SessionID"` // Temporary room ID for session. RoomID *string `json:"RoomID,omitnil,omitempty" name:"RoomID"` // Caller. Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"` // Called. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Start time. Unix timestamp. StartTimestamp *string `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"` // Answer time. Unix timestamp. AcceptTimestamp *string `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"` // Agent email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Agent ID StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"` // Agent Status inProgress Ongoing SessionStatus *string `json:"SessionStatus,omitnil,omitempty" name:"SessionStatus"` // Session call direction, 0 - Inbound | 1 - Outbound. Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"` // Ring time. Unix timestamp. RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"` // Caller number protection ID. Effective when the number protection map feature is activated, and the Caller field is empty. ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"` // Called number protection ID. Effective when the number protection map feature is activated, and the Callee field is empty. ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"` }
type PackageBuyInfo ¶
type PackageBuyInfo struct { // Package ID. PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // Package type, 0 - Outbound call package | 1 - 400 inbound call package. Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Total package. CapacitySize *int64 `json:"CapacitySize,omitnil,omitempty" name:"CapacitySize"` // Remaining package. CapacityRemain *int64 `json:"CapacityRemain,omitnil,omitempty" name:"CapacityRemain"` // Purchased timestamp. BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"` // End timestamp. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type PausePredictiveDialingCampaignRequest ¶
type PausePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewPausePredictiveDialingCampaignRequest ¶
func NewPausePredictiveDialingCampaignRequest() (request *PausePredictiveDialingCampaignRequest)
func (*PausePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *PausePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PausePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *PausePredictiveDialingCampaignRequest) ToJsonString() string
type PausePredictiveDialingCampaignRequestParams ¶
type PausePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type PausePredictiveDialingCampaignResponse ¶
type PausePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *PausePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewPausePredictiveDialingCampaignResponse ¶
func NewPausePredictiveDialingCampaignResponse() (response *PausePredictiveDialingCampaignResponse)
func (*PausePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *PausePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PausePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *PausePredictiveDialingCampaignResponse) ToJsonString() string
type PausePredictiveDialingCampaignResponseParams ¶
type PausePredictiveDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PhoneNumBuyInfo ¶
type PhoneNumBuyInfo struct { // Telephone Number PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` // Number type, 0 - Landline | 1 - Virtual Business Number | 2 - ISP Number | 3 - 400 Number. Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Call type of the number, 1 - Inbound | 2 - Outbound | 3 - Inbound and outbound. CallType *int64 `json:"CallType,omitnil,omitempty" name:"CallType"` // Purchased timestamp. BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"` // End timestamp. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Number status, 1-Normal | 2-Suspended due to non-payment | 4-Admin suspended | 5-Suspended due to violation. State *int64 `json:"State,omitnil,omitempty" name:"State"` }
type ResetExtensionPasswordRequest ¶
type ResetExtensionPasswordRequest struct { *tchttp.BaseRequest // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
func NewResetExtensionPasswordRequest ¶
func NewResetExtensionPasswordRequest() (request *ResetExtensionPasswordRequest)
func (*ResetExtensionPasswordRequest) FromJsonString ¶
func (r *ResetExtensionPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetExtensionPasswordRequest) ToJsonString ¶
func (r *ResetExtensionPasswordRequest) ToJsonString() string
type ResetExtensionPasswordRequestParams ¶
type ResetExtensionPasswordRequestParams struct { // TCCC instance application ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Extension ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"` }
Predefined struct for user
type ResetExtensionPasswordResponse ¶
type ResetExtensionPasswordResponse struct { *tchttp.BaseResponse Response *ResetExtensionPasswordResponseParams `json:"Response"` }
func NewResetExtensionPasswordResponse ¶
func NewResetExtensionPasswordResponse() (response *ResetExtensionPasswordResponse)
func (*ResetExtensionPasswordResponse) FromJsonString ¶
func (r *ResetExtensionPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetExtensionPasswordResponse) ToJsonString ¶
func (r *ResetExtensionPasswordResponse) ToJsonString() string
type ResetExtensionPasswordResponseParams ¶
type ResetExtensionPasswordResponseParams struct { // Reset password. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumePredictiveDialingCampaignRequest ¶
type ResumePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
func NewResumePredictiveDialingCampaignRequest ¶
func NewResumePredictiveDialingCampaignRequest() (request *ResumePredictiveDialingCampaignRequest)
func (*ResumePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *ResumePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *ResumePredictiveDialingCampaignRequest) ToJsonString() string
type ResumePredictiveDialingCampaignRequestParams ¶
type ResumePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` }
Predefined struct for user
type ResumePredictiveDialingCampaignResponse ¶
type ResumePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *ResumePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewResumePredictiveDialingCampaignResponse ¶
func NewResumePredictiveDialingCampaignResponse() (response *ResumePredictiveDialingCampaignResponse)
func (*ResumePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *ResumePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *ResumePredictiveDialingCampaignResponse) ToJsonString() string
type ResumePredictiveDialingCampaignResponseParams ¶
type ResumePredictiveDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SdkAppIdBuyInfo ¶
type SdkAppIdBuyInfo struct { // Application ID SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Application Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent Purchase Count (still within the validity period) StaffBuyNum *int64 `json:"StaffBuyNum,omitnil,omitempty" name:"StaffBuyNum"` // Agent Purchase List (still within the validity period) StaffBuyList []*StaffBuyInfo `json:"StaffBuyList,omitnil,omitempty" name:"StaffBuyList"` // List of numbers purchased. PhoneNumBuyList []*PhoneNumBuyInfo `json:"PhoneNumBuyList,omitnil,omitempty" name:"PhoneNumBuyList"` // Number of office telephones purchased (still within the validity period). // Note: this field may return null, indicating that no valid values can be obtained. SipBuyNum *int64 `json:"SipBuyNum,omitnil,omitempty" name:"SipBuyNum"` }
type SeatUserInfo ¶
type SeatUserInfo struct { // Agent name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent email. Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"` // Worker number. // Note: This field may return null, indicating that no valid value could be obtained. StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"` // Agent's Telephone Number (With 0086 Prefix) Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Agent nickname. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // List of skill groups associated with the seat // Note: This field may return null, indicating that no valid values can be obtained. SkillGroupNameList []*string `json:"SkillGroupNameList,omitnil,omitempty" name:"SkillGroupNameList"` // 1: Admin. // 2: Quality inspector. // 3: Ordinary agent. // else: Custom Role ID. // Note: This field may return null, indicating that no valid value could be obtained. Role *int64 `json:"Role,omitnil,omitempty" name:"Role"` }
type ServeParticipant ¶
type ServeParticipant struct { // Agent email. // Note: This field may return null, indicating that no valid values can be obtained. Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"` // Agent Telephone // Note: This field may return null, indicating that no valid values can be obtained. Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Ring timestamp. Unix second-level timestamp. // Note: This field may return null, indicating that no valid values can be obtained. RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"` // Answer timestamp. Unix second-level timestamp. // Note: This field may return null, indicating that no valid values can be obtained. AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"` // End timestamp. Unix second-level timestamp. // Note: This field may return null, indicating that no valid values can be obtained. EndedTimestamp *int64 `json:"EndedTimestamp,omitnil,omitempty" name:"EndedTimestamp"` // Recording ID, which can be used to index the recording on the agent side // Note: This field may return null, indicating that no valid values can be obtained. RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // Participant type: "staffSeat", "outboundSeat", "staffPhoneSeat". // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Transfer Source Agent Information // Note: This field may return null, indicating that no valid values can be obtained. TransferFrom *string `json:"TransferFrom,omitnil,omitempty" name:"TransferFrom"` // Transfer source participant type is consistent with the Type value. // Note: This field may return null, indicating that no valid values can be obtained. TransferFromType *string `json:"TransferFromType,omitnil,omitempty" name:"TransferFromType"` // Transfer Destination Agent Information // Note: This field may return null, indicating that no valid values can be obtained. TransferTo *string `json:"TransferTo,omitnil,omitempty" name:"TransferTo"` // Transfer destination participant type is consistent with Type values. // Note: This field may return null, indicating that no valid values can be obtained. TransferToType *string `json:"TransferToType,omitnil,omitempty" name:"TransferToType"` // Skill group ID. // Note: This field may return null, indicating that no valid values can be obtained. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Ending status. // Note: This field may return null, indicating that no valid values can be obtained. EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"` // Recording URL. // Note: This field may return null, indicating that no valid values can be obtained. RecordURL *string `json:"RecordURL,omitnil,omitempty" name:"RecordURL"` // Participant sequence number, starting from 0. // Note: This field may return null, indicating that no valid values can be obtained. Sequence *int64 `json:"Sequence,omitnil,omitempty" name:"Sequence"` // Start timestamp. Unix second-level timestamp. // Note: This field may return null, indicating that no valid values can be obtained. StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"` // Skill Group name. // Note: This field may return null, indicating that no valid values can be obtained. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Address of the third party COS for transferring recording. // Note: This field may return null, indicating that no valid values can be obtained. CustomRecordURL *string `json:"CustomRecordURL,omitnil,omitempty" name:"CustomRecordURL"` }
type SkillGroupInfoItem ¶
type SkillGroupInfoItem struct { // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // (Deprecated) Type: IM, TEL, ALL (full media). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Session allocation policy. // Note: this field may return null, indicating that no valid values can be obtained. RoutePolicy *string `json:"RoutePolicy,omitnil,omitempty" name:"RoutePolicy"` // Should the conversation allocation prioritize the last service seat? // Note: This field may return null, indicating that no valid values can be obtained. UsingLastSeat *int64 `json:"UsingLastSeat,omitnil,omitempty" name:"UsingLastSeat"` // Maximum concurrency number of single client service (default 1 for telephone type). // Note: this field may return null, indicating that no valid values can be obtained. MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"` // Last modification time. // Note: this field may return null, indicating that no valid values can be obtained. LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"` // Skill group type 0-phone, 1-online, 3-audio, 4-video. // Note: this field may return null, indicating that no valid values can be obtained. SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"` // Extension number within the skill group // Note: This field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` }
type SkillGroupItem ¶
type SkillGroupItem struct { // Skill group ID. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Priority Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Type: IM, TEL, ALL (full media). Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type StaffBuyInfo ¶
type StaffBuyInfo struct { // Number of agents purchased Num *int64 `json:"Num,omitnil,omitempty" name:"Num"` // Purchased timestamp. BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"` // End timestamp. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Number of office telephones purchased. // Note: this field may return null, indicating that no valid values can be obtained. SipNum *int64 `json:"SipNum,omitnil,omitempty" name:"SipNum"` }
type StaffInfo ¶
type StaffInfo struct { // Agent name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Agent email. Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"` // Agent's Telephone Number // Note: This field may return null, indicating that no valid values can be obtained. Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Agent nickname. // Note: This field may return null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // Agent ID // Note: This field may return null, indicating that no valid values can be obtained. StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"` // User Role ID RoleId *uint64 `json:"RoleId,omitnil,omitempty" name:"RoleId"` // Affiliated Skill Group List. // Note: this field may return null, indicating that no valid values can be obtained. SkillGroupList []*SkillGroupItem `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` // Last modification time. // Note: this field may return null, indicating that no valid values can be obtained. LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"` }
type StaffSkillGroupList ¶
type StaffStatusExtra ¶
type StaffStatusMetrics ¶
type StaffStatusMetrics struct { // Agent email. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Agent status free Available | busy Busy | rest On Break | notReady Not Ready | afterCallWork Post-call Adjustment | offline Offline Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Supplementary Information on Agent Status StatusExtra *StaffStatusExtra `json:"StatusExtra,omitnil,omitempty" name:"StatusExtra"` // Total Online duration of the day. OnlineDuration *int64 `json:"OnlineDuration,omitnil,omitempty" name:"OnlineDuration"` // Total Available duration of the day. FreeDuration *int64 `json:"FreeDuration,omitnil,omitempty" name:"FreeDuration"` // Total Busy duration of the day. BusyDuration *int64 `json:"BusyDuration,omitnil,omitempty" name:"BusyDuration"` // Total Not Ready status duration of the day. NotReadyDuration *int64 `json:"NotReadyDuration,omitnil,omitempty" name:"NotReadyDuration"` // Total Break duration of the day. RestDuration *int64 `json:"RestDuration,omitnil,omitempty" name:"RestDuration"` // Total After Call Work duration of the day. AfterCallWorkDuration *int64 `json:"AfterCallWorkDuration,omitnil,omitempty" name:"AfterCallWorkDuration"` // Reason for Break. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Whether to reserve Break status. ReserveRest *bool `json:"ReserveRest,omitnil,omitempty" name:"ReserveRest"` // Whether to reserve Not Ready status. ReserveNotReady *bool `json:"ReserveNotReady,omitnil,omitempty" name:"ReserveNotReady"` // Cell phone answering pattern: 0 - Off | 1 - Only when Offline | 2 - Always. UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"` // Cell phone outbound call switch. UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"` // Last online timestamp. // Note: This field may return null, indicating that no valid values can be obtained. LastOnlineTimestamp *int64 `json:"LastOnlineTimestamp,omitnil,omitempty" name:"LastOnlineTimestamp"` // Last status timestamp. // Note: This field may return null, indicating that no valid values can be obtained. LastStatusTimestamp *int64 `json:"LastStatusTimestamp,omitnil,omitempty" name:"LastStatusTimestamp"` }
type StopAutoCalloutTaskRequest ¶
type StopAutoCalloutTaskRequest struct { *tchttp.BaseRequest // Call Center Instance ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewStopAutoCalloutTaskRequest ¶
func NewStopAutoCalloutTaskRequest() (request *StopAutoCalloutTaskRequest)
func (*StopAutoCalloutTaskRequest) FromJsonString ¶
func (r *StopAutoCalloutTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopAutoCalloutTaskRequest) ToJsonString ¶
func (r *StopAutoCalloutTaskRequest) ToJsonString() string
type StopAutoCalloutTaskRequestParams ¶
type StopAutoCalloutTaskRequestParams struct { // Call Center Instance ID. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Task ID. TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type StopAutoCalloutTaskResponse ¶
type StopAutoCalloutTaskResponse struct { *tchttp.BaseResponse Response *StopAutoCalloutTaskResponseParams `json:"Response"` }
func NewStopAutoCalloutTaskResponse ¶
func NewStopAutoCalloutTaskResponse() (response *StopAutoCalloutTaskResponse)
func (*StopAutoCalloutTaskResponse) FromJsonString ¶
func (r *StopAutoCalloutTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopAutoCalloutTaskResponse) ToJsonString ¶
func (r *StopAutoCalloutTaskResponse) ToJsonString() string
type StopAutoCalloutTaskResponseParams ¶
type StopAutoCalloutTaskResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TelCdrInfo ¶
type TelCdrInfo struct { // Caller number. Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"` // Called number. Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"` // Call initiation timestamp, Unix timestamp. Time *int64 `json:"Time,omitnil,omitempty" name:"Time"` // Call direction: 0 - Inbound, 1 - Outbound. Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"` // Call duration. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Recording Information. RecordURL *string `json:"RecordURL,omitnil,omitempty" name:"RecordURL"` // Recording ID. // Note: this field may return null, indicating that no valid values can be obtained. RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // Agent Information SeatUser *SeatUserInfo `json:"SeatUser,omitnil,omitempty" name:"SeatUser"` // EndStatus corresponds one-to-one with EndStatusString, specific enumerations are as follows: // // **Scenario EndStatus EndStatusString Status Description** // // Incoming & Outgoing Calls 1 ok Normal End // // Incoming & Outgoing Calls 0 error System Error // // Incoming Call 102 ivrGiveUp User Gave Up During IVR // // Incoming Call 103 waitingGiveUp User Gave Up During Queue // // Incoming Call 104 ringingGiveUp User Gave Up During Ringing // // Incoming Call 105 noSeatOnline No Seat Online // // Incoming Call 106 notWorkTime Non-Working Hours // // Incoming Call 107 ivrEnd Ended Directly After IVR // // Incoming Call 100 blackList Incoming blocklist // // Outgoing Call 2 unconnected Unconnected // // Outgoing Call 108 restrictedCallee Callee restricted due to high risk // // Outgoing Call 109 tooManyRequest Frequency limit exceeded // // Outgoing Call 110 restrictedArea Call to restricted area // // Outgoing Call 111 restrictedTime Call time restricted // // Outgoing Call 201 unknown Unknown status // // Outgoing Call 202 notAnswer Missed call // // Outgoing Call 203 userReject Reject/Hang Up // // Outgoing Call 204 powerOff Shutting down // // Outgoing Call 205 numberNotExist Disconnected Number // // Outgoing Call 206 busy During the call // // Outgoing Call 207 outOfCredit Overdue Payment // // Outgoing Call 208 operatorError ISP Carrier Line Anomaly // // Outgoing Call 209 callerCancel Caller Cancelled // // Outgoing Call 210 notInService Out of Service Area // // Incoming & Outgoing Calls 211 clientError Client Error EndStatus *int64 `json:"EndStatus,omitnil,omitempty" name:"EndStatus"` // Skill group name. SkillGroup *string `json:"SkillGroup,omitnil,omitempty" name:"SkillGroup"` // Caller's location. CallerLocation *string `json:"CallerLocation,omitnil,omitempty" name:"CallerLocation"` // Time spent in IVR stage. // Note: this field may return null, indicating that no valid values can be obtained. IVRDuration *int64 `json:"IVRDuration,omitnil,omitempty" name:"IVRDuration"` // Ring timestamp. UNIX second-level timestamp // Note: this field may return null, indicating that no valid values can be obtained. RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"` // Answer timestamp. UNIX second-Level timestamp // Note: this field may return null, indicating that no valid values can be obtained. AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"` // End timestamp. UNIX second-level timestamp // Note: this field may return null, indicating that no valid values can be obtained. EndedTimestamp *int64 `json:"EndedTimestamp,omitnil,omitempty" name:"EndedTimestamp"` // IVR key information, e.g. ["1","2","3"] // Note: this field may return null, indicating that no valid values can be obtained. IVRKeyPressed []*string `json:"IVRKeyPressed,omitnil,omitempty" name:"IVRKeyPressed"` // Hanging Up Party seat Seat user Users system system // Note: This field may return null, indicating that no valid values can be obtained. HungUpSide *string `json:"HungUpSide,omitnil,omitempty" name:"HungUpSide"` // List of Service Participants // Note: this field may return null, indicating that no valid values can be obtained. ServeParticipants []*ServeParticipant `json:"ServeParticipants,omitnil,omitempty" name:"ServeParticipants"` // Skill group ID. // Note: this field may return null, indicating that no valid values can be obtained. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // EndStatus corresponds one-to-one with EndStatusString, specific enumerations are as follows: // // **Scenario EndStatus EndStatusString Status Description** // // Incoming & Outgoing Calls 1 ok Normal End // // Incoming & Outgoing Calls 0 error System Error // // Incoming Call 102 ivrGiveUp User Gave Up During IVR // // Incoming Call 103 waitingGiveUp User Gave Up During Queue // // Incoming Call 104 ringingGiveUp User Gave Up During Ringing // // Incoming Call 105 noSeatOnline No Seat Online // // Incoming Call 106 notWorkTime Non-Working Hours // // Incoming Call 107 ivrEnd Ended Directly After IVR // // Incoming Call 100 blackList Incoming blocklist // // Outgoing Call 2 unconnected Unconnected // // Outgoing Call 108 restrictedCallee Callee restricted due to high risk // // Outgoing Call 109 tooManyRequest Frequency limit exceeded // // Outgoing Call 110 restrictedArea Call to restricted area // // Outgoing Call 111 restrictedTime Call time restricted // // Outgoing Call 201 unknown Unknown status // // Outgoing Call 202 notAnswer Missed call // // Outgoing Call 203 userReject Reject/Hang Up // // Outgoing Call 204 powerOff Shutting down // // Outgoing Call 205 numberNotExist Disconnected Number // // Phone Call Out 206 busy In Call // // Outgoing Call 207 outOfCredit Overdue Payment // // Outgoing Call 208 operatorError ISP Carrier Line Anomaly // // Outgoing Call 209 callerCancel Caller Cancelled // // Outgoing Call 210 notInService Out of Service Area // // Phone Call In & Out 211 clientError Client Error // // Note: This field may return null, indicating that no valid values can be obtained. EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"` // Session start timestamp. UNIX second-level timestamp. // Note: This field may return null, indicating that no valid value can be obtained. StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"` // Queue entry time. Unix second-level timestamp. // Note: This field may return null, indicating that no valid value can be obtained. QueuedTimestamp *int64 `json:"QueuedTimestamp,omitnil,omitempty" name:"QueuedTimestamp"` // Post-IVR key information (e.g. [{"Key":"1","Label":"Very Satisfied"}]) // Note: This field may return null, indicating that no valid value can be obtained. PostIVRKeyPressed []*IVRKeyPressedElement `json:"PostIVRKeyPressed,omitnil,omitempty" name:"PostIVRKeyPressed"` // Queue Skill Group ID. // Note: This field may return null, indicating that no valid value can be obtained. QueuedSkillGroupId *int64 `json:"QueuedSkillGroupId,omitnil,omitempty" name:"QueuedSkillGroupId"` // Session ID. // Note: This field may return null, indicating that no valid value can be obtained. SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // Caller number protection ID. (Effective when the number protection map feature is activated, and the Caller field is empty). // Note: This field may return null, indicating that no valid values can be obtained. ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"` // Called number protection ID (Effective when the number protection map feature is activated, and the Callee field is empty). // Note: This field may return null, indicating that no valid values can be obtained. ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"` // Customer custom data. (User-to-User Interface) // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: Uui is deprecated. Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"` // Customer custom data. (User-to-User Interface) // Note: This field may return null, indicating that no valid values can be obtained. UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"` // IVR key information (e.g.?[{"Key":"1","Label":"highly satisfied"}]) // Note: This field may return null, indicating that no valid values can be obtained. IVRKeyPressedEx []*IVRKeyPressedElement `json:"IVRKeyPressedEx,omitnil,omitempty" name:"IVRKeyPressedEx"` // Access to the ASR text information address of the recording. // Note: This field may return null, indicating that no valid values can be obtained. AsrUrl *string `json:"AsrUrl,omitnil,omitempty" name:"AsrUrl"` // Address of the third party COS for transferring recording. // Note: This field may return null, indicating that no valid values can be obtained. CustomRecordURL *string `json:"CustomRecordURL,omitnil,omitempty" name:"CustomRecordURL"` // Remarks // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // Queue skill group name. // Note: This field may return null, indicating that no valid values can be obtained. QueuedSkillGroupName *string `json:"QueuedSkillGroupName,omitnil,omitempty" name:"QueuedSkillGroupName"` // Audio message recording URL during call. // Note: This field may return null, indicating that no valid values can be obtained. VoicemailRecordURL []*string `json:"VoicemailRecordURL,omitnil,omitempty" name:"VoicemailRecordURL"` // Text Information address of ASR audio message during a call. // Note: This field may return null, indicating that no valid values can be obtained. VoicemailAsrURL []*string `json:"VoicemailAsrURL,omitnil,omitempty" name:"VoicemailAsrURL"` }
type UnbindNumberCallOutSkillGroupRequest ¶
type UnbindNumberCallOutSkillGroupRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Number to be unbound. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // List of skill group IDs to be unbound. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` }
func NewUnbindNumberCallOutSkillGroupRequest ¶
func NewUnbindNumberCallOutSkillGroupRequest() (request *UnbindNumberCallOutSkillGroupRequest)
func (*UnbindNumberCallOutSkillGroupRequest) FromJsonString ¶
func (r *UnbindNumberCallOutSkillGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindNumberCallOutSkillGroupRequest) ToJsonString ¶
func (r *UnbindNumberCallOutSkillGroupRequest) ToJsonString() string
type UnbindNumberCallOutSkillGroupRequestParams ¶
type UnbindNumberCallOutSkillGroupRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Number to be unbound. Number *string `json:"Number,omitnil,omitempty" name:"Number"` // List of skill group IDs to be unbound. SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"` }
Predefined struct for user
type UnbindNumberCallOutSkillGroupResponse ¶
type UnbindNumberCallOutSkillGroupResponse struct { *tchttp.BaseResponse Response *UnbindNumberCallOutSkillGroupResponseParams `json:"Response"` }
func NewUnbindNumberCallOutSkillGroupResponse ¶
func NewUnbindNumberCallOutSkillGroupResponse() (response *UnbindNumberCallOutSkillGroupResponse)
func (*UnbindNumberCallOutSkillGroupResponse) FromJsonString ¶
func (r *UnbindNumberCallOutSkillGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindNumberCallOutSkillGroupResponse) ToJsonString ¶
func (r *UnbindNumberCallOutSkillGroupResponse) ToJsonString() string
type UnbindNumberCallOutSkillGroupResponseParams ¶
type UnbindNumberCallOutSkillGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UnbindStaffSkillGroupListRequest ¶
type UnbindStaffSkillGroupListRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer service email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Unbound skill group list. SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` }
func NewUnbindStaffSkillGroupListRequest ¶
func NewUnbindStaffSkillGroupListRequest() (request *UnbindStaffSkillGroupListRequest)
func (*UnbindStaffSkillGroupListRequest) FromJsonString ¶
func (r *UnbindStaffSkillGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindStaffSkillGroupListRequest) ToJsonString ¶
func (r *UnbindStaffSkillGroupListRequest) ToJsonString() string
type UnbindStaffSkillGroupListRequestParams ¶
type UnbindStaffSkillGroupListRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Customer service email. StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"` // Unbound skill group list. SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"` }
Predefined struct for user
type UnbindStaffSkillGroupListResponse ¶
type UnbindStaffSkillGroupListResponse struct { *tchttp.BaseResponse Response *UnbindStaffSkillGroupListResponseParams `json:"Response"` }
func NewUnbindStaffSkillGroupListResponse ¶
func NewUnbindStaffSkillGroupListResponse() (response *UnbindStaffSkillGroupListResponse)
func (*UnbindStaffSkillGroupListResponse) FromJsonString ¶
func (r *UnbindStaffSkillGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindStaffSkillGroupListResponse) ToJsonString ¶
func (r *UnbindStaffSkillGroupListResponse) ToJsonString() string
type UnbindStaffSkillGroupListResponseParams ¶
type UnbindStaffSkillGroupListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCCCSkillGroupRequest ¶
type UpdateCCCSkillGroupRequest struct { *tchttp.BaseRequest // Application ID (required). SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Skill group ID. SkillGroupID *int64 `json:"SkillGroupID,omitnil,omitempty" name:"SkillGroupID"` // Modified skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Modified maximum concurrency and the maximum synchronization is 2. MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"` // True for simultaneous ringing, false for sequential ringing. RingAll *bool `json:"RingAll,omitnil,omitempty" name:"RingAll"` }
func NewUpdateCCCSkillGroupRequest ¶
func NewUpdateCCCSkillGroupRequest() (request *UpdateCCCSkillGroupRequest)
func (*UpdateCCCSkillGroupRequest) FromJsonString ¶
func (r *UpdateCCCSkillGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCCCSkillGroupRequest) ToJsonString ¶
func (r *UpdateCCCSkillGroupRequest) ToJsonString() string
type UpdateCCCSkillGroupRequestParams ¶
type UpdateCCCSkillGroupRequestParams struct { // Application ID (required). SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Skill group ID. SkillGroupID *int64 `json:"SkillGroupID,omitnil,omitempty" name:"SkillGroupID"` // Modified skill group name. SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"` // Modified maximum concurrency and the maximum synchronization is 2. MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"` // True for simultaneous ringing, false for sequential ringing. RingAll *bool `json:"RingAll,omitnil,omitempty" name:"RingAll"` }
Predefined struct for user
type UpdateCCCSkillGroupResponse ¶
type UpdateCCCSkillGroupResponse struct { *tchttp.BaseResponse Response *UpdateCCCSkillGroupResponseParams `json:"Response"` }
func NewUpdateCCCSkillGroupResponse ¶
func NewUpdateCCCSkillGroupResponse() (response *UpdateCCCSkillGroupResponse)
func (*UpdateCCCSkillGroupResponse) FromJsonString ¶
func (r *UpdateCCCSkillGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCCCSkillGroupResponse) ToJsonString ¶
func (r *UpdateCCCSkillGroupResponse) ToJsonString() string
type UpdateCCCSkillGroupResponseParams ¶
type UpdateCCCSkillGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdatePredictiveDialingCampaignRequest ¶
type UpdatePredictiveDialingCampaignRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // ID of the used skill group of agents. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Expected call drop rate, percentage, 5 - 50. ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"` // Call retry interval, in seconds, [60 - 86,400]. RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Specified IVR ID. IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // Number of call retries, 0 - 2. RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"` }
func NewUpdatePredictiveDialingCampaignRequest ¶
func NewUpdatePredictiveDialingCampaignRequest() (request *UpdatePredictiveDialingCampaignRequest)
func (*UpdatePredictiveDialingCampaignRequest) FromJsonString ¶
func (r *UpdatePredictiveDialingCampaignRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePredictiveDialingCampaignRequest) ToJsonString ¶
func (r *UpdatePredictiveDialingCampaignRequest) ToJsonString() string
type UpdatePredictiveDialingCampaignRequestParams ¶
type UpdatePredictiveDialingCampaignRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Generated task ID. CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Called list supporting E.164 or number formats without country code. Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"` // Calling list using the number formats displayed on the management side. Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"` // Being called sequence: 0 for random 1 for in order. CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"` // ID of the used skill group of agents. SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"` // Running priority of multiple tasks in the same application, from high to low 1 - 5. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Expected call drop rate, percentage, 5 - 50. ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"` // Call retry interval, in seconds, [60 - 86,400]. RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"` // Task start time. Unix timestamp. The task will automatically start after this time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task termination time. Unix timestamp. The task will automatically terminate after this time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Specified IVR ID. IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"` // Number of call retries, 0 - 2. RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"` }
Predefined struct for user
type UpdatePredictiveDialingCampaignResponse ¶
type UpdatePredictiveDialingCampaignResponse struct { *tchttp.BaseResponse Response *UpdatePredictiveDialingCampaignResponseParams `json:"Response"` }
func NewUpdatePredictiveDialingCampaignResponse ¶
func NewUpdatePredictiveDialingCampaignResponse() (response *UpdatePredictiveDialingCampaignResponse)
func (*UpdatePredictiveDialingCampaignResponse) FromJsonString ¶
func (r *UpdatePredictiveDialingCampaignResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePredictiveDialingCampaignResponse) ToJsonString ¶
func (r *UpdatePredictiveDialingCampaignResponse) ToJsonString() string
type UpdatePredictiveDialingCampaignResponseParams ¶
type UpdatePredictiveDialingCampaignResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UploadAudioInfo ¶
type UploadAudioInfo struct { // File Alias (can be duplicated) CustomFileName *string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"` // Audio File Link (supports mp3 and wav formats, file size not exceeding 5MB) AudioUrl *string `json:"AudioUrl,omitnil,omitempty" name:"AudioUrl"` }
type UploadIvrAudioFailedInfo ¶
type UploadIvrAudioFailedInfo struct { // Filename // Note: This field may return null, indicating that no valid values can be obtained. FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Reason for failure // Note: This field may return null, indicating that no valid values can be obtained. FailedMsg *string `json:"FailedMsg,omitnil,omitempty" name:"FailedMsg"` }
type UploadIvrAudioRequest ¶
type UploadIvrAudioRequest struct { *tchttp.BaseRequest // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Audio File List AudioList []*UploadAudioInfo `json:"AudioList,omitnil,omitempty" name:"AudioList"` }
func NewUploadIvrAudioRequest ¶
func NewUploadIvrAudioRequest() (request *UploadIvrAudioRequest)
func (*UploadIvrAudioRequest) FromJsonString ¶
func (r *UploadIvrAudioRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadIvrAudioRequest) ToJsonString ¶
func (r *UploadIvrAudioRequest) ToJsonString() string
type UploadIvrAudioRequestParams ¶
type UploadIvrAudioRequestParams struct { // Application ID (required) can be found at https://console.cloud.tencent.com/ccc. SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // Audio File List AudioList []*UploadAudioInfo `json:"AudioList,omitnil,omitempty" name:"AudioList"` }
Predefined struct for user
type UploadIvrAudioResponse ¶
type UploadIvrAudioResponse struct { *tchttp.BaseResponse Response *UploadIvrAudioResponseParams `json:"Response"` }
func NewUploadIvrAudioResponse ¶
func NewUploadIvrAudioResponse() (response *UploadIvrAudioResponse)
func (*UploadIvrAudioResponse) FromJsonString ¶
func (r *UploadIvrAudioResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadIvrAudioResponse) ToJsonString ¶
func (r *UploadIvrAudioResponse) ToJsonString() string
type UploadIvrAudioResponseParams ¶
type UploadIvrAudioResponseParams struct { // List of failed uploads // Note: This field may return null, indicating that no valid values can be obtained. FailedFileList []*UploadIvrAudioFailedInfo `json:"FailedFileList,omitnil,omitempty" name:"FailedFileList"` // List of successful uploads // Note: This field may return null, indicating that no valid values can be obtained. SuccessFileList []*AudioFileInfo `json:"SuccessFileList,omitnil,omitempty" name:"SuccessFileList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user