tencentcloud-sdk-lcic 3.0.792 → 3.0.794
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/v20220817/models.rb +47 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e20a29551547f40ee7e3dfc8001e7faeaaa55186
|
4
|
+
data.tar.gz: a708bade7b3a1e5eb2aa0b589787e06314180380
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7faac18c48f80f5262e70539e1f9aa28fa07474fc49de3f9e9a652248083b84c85895e7902c5be8fc63c6dbba28433875db3ccd99ba1b07e41f4904a0d9a44a
|
7
|
+
data.tar.gz: 1d87b480101a36b029a0848c2148ee8feff40660b642e29c37ee2e84303eee1f3ad860eda2cd06f7c7701b75652a1b0cba4283d018865911f35d75d8f0674123
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.794
|
data/lib/v20220817/models.rb
CHANGED
@@ -1057,6 +1057,33 @@ module TencentCloud
|
|
1057
1057
|
end
|
1058
1058
|
end
|
1059
1059
|
|
1060
|
+
# 自定义消息
|
1061
|
+
class CustomMsgContent < TencentCloud::Common::AbstractModel
|
1062
|
+
# @param Data: 自定义消息数据。
|
1063
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1064
|
+
# @type Data: String
|
1065
|
+
# @param Desc: 自定义消息描述信息。
|
1066
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1067
|
+
# @type Desc: String
|
1068
|
+
# @param Ext: 扩展字段。
|
1069
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1070
|
+
# @type Ext: String
|
1071
|
+
|
1072
|
+
attr_accessor :Data, :Desc, :Ext
|
1073
|
+
|
1074
|
+
def initialize(data=nil, desc=nil, ext=nil)
|
1075
|
+
@Data = data
|
1076
|
+
@Desc = desc
|
1077
|
+
@Ext = ext
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
def deserialize(params)
|
1081
|
+
@Data = params['Data']
|
1082
|
+
@Desc = params['Desc']
|
1083
|
+
@Ext = params['Ext']
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
|
1060
1087
|
# DeleteAppCustomContent请求参数结构体
|
1061
1088
|
class DeleteAppCustomContentRequest < TencentCloud::Common::AbstractModel
|
1062
1089
|
# @param SdkAppId: 应用ID。
|
@@ -3461,19 +3488,27 @@ module TencentCloud
|
|
3461
3488
|
# @param ImageMessage: 图片消息URL。 message type为1时有效。
|
3462
3489
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3463
3490
|
# @type ImageMessage: String
|
3491
|
+
# @param CustomMessage: 自定义消息内容。message type为2时有效。
|
3492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3493
|
+
# @type CustomMessage: :class:`Tencentcloud::Lcic.v20220817.models.CustomMsgContent`
|
3464
3494
|
|
3465
|
-
attr_accessor :MessageType, :TextMessage, :ImageMessage
|
3495
|
+
attr_accessor :MessageType, :TextMessage, :ImageMessage, :CustomMessage
|
3466
3496
|
|
3467
|
-
def initialize(messagetype=nil, textmessage=nil, imagemessage=nil)
|
3497
|
+
def initialize(messagetype=nil, textmessage=nil, imagemessage=nil, custommessage=nil)
|
3468
3498
|
@MessageType = messagetype
|
3469
3499
|
@TextMessage = textmessage
|
3470
3500
|
@ImageMessage = imagemessage
|
3501
|
+
@CustomMessage = custommessage
|
3471
3502
|
end
|
3472
3503
|
|
3473
3504
|
def deserialize(params)
|
3474
3505
|
@MessageType = params['MessageType']
|
3475
3506
|
@TextMessage = params['TextMessage']
|
3476
3507
|
@ImageMessage = params['ImageMessage']
|
3508
|
+
unless params['CustomMessage'].nil?
|
3509
|
+
@CustomMessage = CustomMsgContent.new
|
3510
|
+
@CustomMessage.deserialize(params['CustomMessage'])
|
3511
|
+
end
|
3477
3512
|
end
|
3478
3513
|
end
|
3479
3514
|
|
@@ -3808,6 +3843,7 @@ module TencentCloud
|
|
3808
3843
|
# TIMTextElem(文本消息)
|
3809
3844
|
# TIMFaceElem(表情消息)
|
3810
3845
|
# TIMImageElem(图像消息)
|
3846
|
+
# TIMCustomElem(自定义消息)
|
3811
3847
|
# @type MsgType: String
|
3812
3848
|
# @param TextMsgContent: 文本消息,当MsgType 为TIMTextElem(文本消息)必选。
|
3813
3849
|
# @type TextMsgContent: :class:`Tencentcloud::Lcic.v20220817.models.TextMsgContent`
|
@@ -3815,14 +3851,17 @@ module TencentCloud
|
|
3815
3851
|
# @type FaceMsgContent: :class:`Tencentcloud::Lcic.v20220817.models.FaceMsgContent`
|
3816
3852
|
# @param ImageMsgContent: 图像消息,当MsgType为TIMImageElem(图像消息)必选。
|
3817
3853
|
# @type ImageMsgContent: :class:`Tencentcloud::Lcic.v20220817.models.ImageMsgContent`
|
3854
|
+
# @param CustomMsgContent: 自定义消息,TIMCustomElem(自定义消息)必选。
|
3855
|
+
# @type CustomMsgContent: :class:`Tencentcloud::Lcic.v20220817.models.CustomMsgContent`
|
3818
3856
|
|
3819
|
-
attr_accessor :MsgType, :TextMsgContent, :FaceMsgContent, :ImageMsgContent
|
3857
|
+
attr_accessor :MsgType, :TextMsgContent, :FaceMsgContent, :ImageMsgContent, :CustomMsgContent
|
3820
3858
|
|
3821
|
-
def initialize(msgtype=nil, textmsgcontent=nil, facemsgcontent=nil, imagemsgcontent=nil)
|
3859
|
+
def initialize(msgtype=nil, textmsgcontent=nil, facemsgcontent=nil, imagemsgcontent=nil, custommsgcontent=nil)
|
3822
3860
|
@MsgType = msgtype
|
3823
3861
|
@TextMsgContent = textmsgcontent
|
3824
3862
|
@FaceMsgContent = facemsgcontent
|
3825
3863
|
@ImageMsgContent = imagemsgcontent
|
3864
|
+
@CustomMsgContent = custommsgcontent
|
3826
3865
|
end
|
3827
3866
|
|
3828
3867
|
def deserialize(params)
|
@@ -3839,6 +3878,10 @@ module TencentCloud
|
|
3839
3878
|
@ImageMsgContent = ImageMsgContent.new
|
3840
3879
|
@ImageMsgContent.deserialize(params['ImageMsgContent'])
|
3841
3880
|
end
|
3881
|
+
unless params['CustomMsgContent'].nil?
|
3882
|
+
@CustomMsgContent = CustomMsgContent.new
|
3883
|
+
@CustomMsgContent.deserialize(params['CustomMsgContent'])
|
3884
|
+
end
|
3842
3885
|
end
|
3843
3886
|
end
|
3844
3887
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lcic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.794
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|