public class VmsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
VmsClient(Credential credential,
String region) |
VmsClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
SendCodeVoiceResponse |
SendCodeVoice(SendCodeVoiceRequest req)
给用户发语音验证码(仅支持数字)。
|
SendTtsVoiceResponse |
SendTtsVoice(SendTtsVoiceRequest req)
给用户发送指定模板的语音通知。
|
call, callOctetStream, getClientProfile, getCredential, getRegion, internalRequest, retry, setClientProfile, setCredential, setRegion
public VmsClient(Credential credential, String region)
public VmsClient(Credential credential, String region, ClientProfile profile)
public SendCodeVoiceResponse SendCodeVoice(SendCodeVoiceRequest req) throws TencentCloudSDKException
req
- SendCodeVoiceRequestTencentCloudSDKException
public SendTtsVoiceResponse SendTtsVoice(SendTtsVoiceRequest req) throws TencentCloudSDKException
req
- SendTtsVoiceRequestTencentCloudSDKException
Copyright © 2021. All rights reserved.