tencentcloud-sdk-trtc 3.0.885 → 3.0.886
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/models.rb +12 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed8ab81795eb5c5975fe31347c5648c50dcdf52d
|
4
|
+
data.tar.gz: cf9fcec761cd3576b48a83ddb9ce2176d3a9bfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b076925b673a84943fc313821a4265466132e12c891eb8171995b21ddfdca2a585e0edd3da1f05a48b6f85ef052abef6906851fecb291d2864d3681ab1a004
|
7
|
+
data.tar.gz: 654eab3b0fbaf63dea3df4dd92dca07d90f45e8ca452d420c379587059d0b5c9bc31d28927097dfeabf54529b66ce3d1a65d4199b6610b51deba8daa873039a9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.886
|
data/lib/v20190722/models.rb
CHANGED
@@ -94,15 +94,23 @@ module TencentCloud
|
|
94
94
|
# @param WelcomeMessage: 机器人的欢迎语
|
95
95
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
96
96
|
# @type WelcomeMessage: String
|
97
|
+
# @param InterruptMode: 智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
|
98
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
99
|
+
# @type InterruptMode: Integer
|
100
|
+
# @param InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
102
|
+
# @type InterruptSpeechDuration: Integer
|
97
103
|
|
98
|
-
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage
|
104
|
+
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration
|
99
105
|
|
100
|
-
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil)
|
106
|
+
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil)
|
101
107
|
@UserId = userid
|
102
108
|
@UserSig = usersig
|
103
109
|
@TargetUserId = targetuserid
|
104
110
|
@MaxIdleTime = maxidletime
|
105
111
|
@WelcomeMessage = welcomemessage
|
112
|
+
@InterruptMode = interruptmode
|
113
|
+
@InterruptSpeechDuration = interruptspeechduration
|
106
114
|
end
|
107
115
|
|
108
116
|
def deserialize(params)
|
@@ -111,6 +119,8 @@ module TencentCloud
|
|
111
119
|
@TargetUserId = params['TargetUserId']
|
112
120
|
@MaxIdleTime = params['MaxIdleTime']
|
113
121
|
@WelcomeMessage = params['WelcomeMessage']
|
122
|
+
@InterruptMode = params['InterruptMode']
|
123
|
+
@InterruptSpeechDuration = params['InterruptSpeechDuration']
|
114
124
|
end
|
115
125
|
end
|
116
126
|
|