tencentcloud-sdk-lcic 3.0.791 → 3.0.793

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220817/models.rb +47 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e8e381ca7dcc0759f94c04b252b868dbde90de3
4
- data.tar.gz: a8bbc89e05b0ad3bdb0dfe0410fd5afc1edc6808
3
+ metadata.gz: 2bc3e02f05737bc136c5cad5061024a2f1e746d2
4
+ data.tar.gz: dbd2df4f25d95a62a77b7b430afe3081ba281e3e
5
5
  SHA512:
6
- metadata.gz: 756bb801dd106b8eed59defa47f5d388096a79cb8f0e2480b5ea2f8169be7502da41fd292f08e441daa3204cf1eb10162bf4cbe2e099522ab13fb4a88eb8d93c
7
- data.tar.gz: 510742546d068d7bea15bba40fda92d890dd40c5338db7474cdac8de86d68bfeab911a8c09e72f03c1c5c97180220ffaa9dd5171ac25edf0526c57f4bbe81b26
6
+ metadata.gz: ed12df0b0cc9273cf2c8453391c9b50ed694fd20f23464b7300f467928a8169bf5e9b6a4e92b6accb7a6f2cd20dcd75e1276a4d13cac5755ca0db3098a9453f1
7
+ data.tar.gz: 01fde539833069ea426688e1186a22b5e1acb27376d8932beb889700be6fd507e0483ae4d49077deab6a004e29cbbc5ccef0bc72edd9edefd03e90061eb8a38e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.791
1
+ 3.0.793
@@ -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.791
4
+ version: 3.0.793
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-26 00:00:00.000000000 Z
11
+ date: 2024-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common