tencentcloud-sdk-lcic 3.0.694 → 3.0.696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c5c602a57cfbd8184b3cf1ef63900aa30dfbdb7
4
- data.tar.gz: 33b105d6ecc97ed58396ef94ffe928f7fb44de30
3
+ metadata.gz: 5cc825aab1abe06b92b2289e66dc061f20b7ca01
4
+ data.tar.gz: 3d6596906cd6dd2d53e8396c2fad5ecd6c8436ce
5
5
  SHA512:
6
- metadata.gz: af45576f4043e7f2e2c0aac9d2d1059e7762f5e533491c5267221f1435d53c29389fb030040e6c276927f6161cc705980ae5749d10f5e7d4012e79d2373fd69e
7
- data.tar.gz: 627303a97c7ed76e7b0077f35e0a65222adbb7ae854d51dd10abcfcdce33d681fda26416ba76831dc0d27171eca072af840d750e53a835cb98580d22ca751105
6
+ metadata.gz: df99a591d0501a16f696c94a7e9ef0679c2d05a19e5cdf4508d219a93df21867567437728823ac4ec22886e3979490da5ae0a3790a9d4dc028cd6bcabe98c2e5
7
+ data.tar.gz: 8dfba53ae9be8bb8a03a05a47912f836e243ec9c0d0697820c41365a89032e53e4f585740001a9fe5b438145fd3b4a15f95b313d6471abca424d2a6296982f89
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.694
1
+ 3.0.696
@@ -847,6 +847,30 @@ module TencentCloud
847
847
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
848
848
  end
849
849
 
850
+ # 根据房间ID获取群组中被禁言的用户列表。
851
+
852
+ # @param request: Request instance for DescribeRoomForbiddenUser.
853
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeRoomForbiddenUserRequest`
854
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeRoomForbiddenUserResponse`
855
+ def DescribeRoomForbiddenUser(request)
856
+ body = send_request('DescribeRoomForbiddenUser', request.serialize)
857
+ response = JSON.parse(body)
858
+ if response['Response'].key?('Error') == false
859
+ model = DescribeRoomForbiddenUserResponse.new
860
+ model.deserialize(response['Response'])
861
+ model
862
+ else
863
+ code = response['Response']['Error']['Code']
864
+ message = response['Response']['Error']['Message']
865
+ reqid = response['Response']['RequestId']
866
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
867
+ end
868
+ rescue TencentCloud::Common::TencentCloudSDKException => e
869
+ raise e
870
+ rescue StandardError => e
871
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
872
+ end
873
+
850
874
  # 获取房间统计信息,仅可在房间结束后调用。
851
875
 
852
876
  # @param request: Request instance for DescribeRoomStatistics.
@@ -991,6 +1015,32 @@ module TencentCloud
991
1015
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
992
1016
  end
993
1017
 
1018
+ # 禁止指定房间中某些用户在一段时间内发言。
1019
+ # 取消对某些用户的禁言。
1020
+ # 被禁言用户退出房间之后再进入同一房间,禁言仍然有效。
1021
+
1022
+ # @param request: Request instance for ForbidSendMsg.
1023
+ # @type request: :class:`Tencentcloud::lcic::V20220817::ForbidSendMsgRequest`
1024
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::ForbidSendMsgResponse`
1025
+ def ForbidSendMsg(request)
1026
+ body = send_request('ForbidSendMsg', request.serialize)
1027
+ response = JSON.parse(body)
1028
+ if response['Response'].key?('Error') == false
1029
+ model = ForbidSendMsgResponse.new
1030
+ model.deserialize(response['Response'])
1031
+ model
1032
+ else
1033
+ code = response['Response']['Error']['Code']
1034
+ message = response['Response']['Error']['Message']
1035
+ reqid = response['Response']['RequestId']
1036
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1037
+ end
1038
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1039
+ raise e
1040
+ rescue StandardError => e
1041
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1042
+ end
1043
+
994
1044
  # 获取房间事件,仅在课堂结束1小时内有效。
995
1045
 
996
1046
  # @param request: Request instance for GetRoomEvent.
@@ -1960,6 +1960,54 @@ module TencentCloud
1960
1960
  end
1961
1961
  end
1962
1962
 
1963
+ # DescribeRoomForbiddenUser请求参数结构体
1964
+ class DescribeRoomForbiddenUserRequest < TencentCloud::Common::AbstractModel
1965
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
1966
+ # @type SdkAppId: Integer
1967
+ # @param RoomId: 房间ID。
1968
+ # @type RoomId: Integer
1969
+
1970
+ attr_accessor :SdkAppId, :RoomId
1971
+
1972
+ def initialize(sdkappid=nil, roomid=nil)
1973
+ @SdkAppId = sdkappid
1974
+ @RoomId = roomid
1975
+ end
1976
+
1977
+ def deserialize(params)
1978
+ @SdkAppId = params['SdkAppId']
1979
+ @RoomId = params['RoomId']
1980
+ end
1981
+ end
1982
+
1983
+ # DescribeRoomForbiddenUser返回参数结构体
1984
+ class DescribeRoomForbiddenUserResponse < TencentCloud::Common::AbstractModel
1985
+ # @param MutedAccountList: 禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
1986
+ # 注意:此字段可能返回 null,表示取不到有效值。
1987
+ # @type MutedAccountList: Array
1988
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1989
+ # @type RequestId: String
1990
+
1991
+ attr_accessor :MutedAccountList, :RequestId
1992
+
1993
+ def initialize(mutedaccountlist=nil, requestid=nil)
1994
+ @MutedAccountList = mutedaccountlist
1995
+ @RequestId = requestid
1996
+ end
1997
+
1998
+ def deserialize(params)
1999
+ unless params['MutedAccountList'].nil?
2000
+ @MutedAccountList = []
2001
+ params['MutedAccountList'].each do |i|
2002
+ mutedaccountlist_tmp = MutedAccountList.new
2003
+ mutedaccountlist_tmp.deserialize(i)
2004
+ @MutedAccountList << mutedaccountlist_tmp
2005
+ end
2006
+ end
2007
+ @RequestId = params['RequestId']
2008
+ end
2009
+ end
2010
+
1963
2011
  # DescribeRoom请求参数结构体
1964
2012
  class DescribeRoomRequest < TencentCloud::Common::AbstractModel
1965
2013
  # @param RoomId: 房间Id。
@@ -2654,6 +2702,50 @@ module TencentCloud
2654
2702
  end
2655
2703
  end
2656
2704
 
2705
+ # ForbidSendMsg请求参数结构体
2706
+ class ForbidSendMsgRequest < TencentCloud::Common::AbstractModel
2707
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
2708
+ # @type SdkAppId: Integer
2709
+ # @param RoomId: 房间ID。
2710
+ # @type RoomId: Integer
2711
+ # @param MembersAccount: 需要禁言的用户账号,最多支持500个账号
2712
+ # @type MembersAccount: Array
2713
+ # @param MuteTime: 需禁言时间,单位为秒,为0时表示取消禁言,4294967295为永久禁言。
2714
+ # @type MuteTime: Integer
2715
+
2716
+ attr_accessor :SdkAppId, :RoomId, :MembersAccount, :MuteTime
2717
+
2718
+ def initialize(sdkappid=nil, roomid=nil, membersaccount=nil, mutetime=nil)
2719
+ @SdkAppId = sdkappid
2720
+ @RoomId = roomid
2721
+ @MembersAccount = membersaccount
2722
+ @MuteTime = mutetime
2723
+ end
2724
+
2725
+ def deserialize(params)
2726
+ @SdkAppId = params['SdkAppId']
2727
+ @RoomId = params['RoomId']
2728
+ @MembersAccount = params['MembersAccount']
2729
+ @MuteTime = params['MuteTime']
2730
+ end
2731
+ end
2732
+
2733
+ # ForbidSendMsg返回参数结构体
2734
+ class ForbidSendMsgResponse < TencentCloud::Common::AbstractModel
2735
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2736
+ # @type RequestId: String
2737
+
2738
+ attr_accessor :RequestId
2739
+
2740
+ def initialize(requestid=nil)
2741
+ @RequestId = requestid
2742
+ end
2743
+
2744
+ def deserialize(params)
2745
+ @RequestId = params['RequestId']
2746
+ end
2747
+ end
2748
+
2657
2749
  # GetRoomEvent请求参数结构体
2658
2750
  class GetRoomEventRequest < TencentCloud::Common::AbstractModel
2659
2751
  # @param RoomId: 房间Id。
@@ -3653,6 +3745,28 @@ module TencentCloud
3653
3745
  end
3654
3746
  end
3655
3747
 
3748
+ # 禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
3749
+ class MutedAccountList < TencentCloud::Common::AbstractModel
3750
+ # @param MemberAccount: 用户 ID
3751
+ # 注意:此字段可能返回 null,表示取不到有效值。
3752
+ # @type MemberAccount: String
3753
+ # @param MutedUntil: 禁言到的时间(使用 UTC 时间,即世界协调时间)
3754
+ # 注意:此字段可能返回 null,表示取不到有效值。
3755
+ # @type MutedUntil: Integer
3756
+
3757
+ attr_accessor :MemberAccount, :MutedUntil
3758
+
3759
+ def initialize(memberaccount=nil, muteduntil=nil)
3760
+ @MemberAccount = memberaccount
3761
+ @MutedUntil = muteduntil
3762
+ end
3763
+
3764
+ def deserialize(params)
3765
+ @MemberAccount = params['MemberAccount']
3766
+ @MutedUntil = params['MutedUntil']
3767
+ end
3768
+ end
3769
+
3656
3770
  # 房间问答问题详情
3657
3771
  class QuestionInfo < TencentCloud::Common::AbstractModel
3658
3772
  # @param QuestionId: 问题ID
@@ -3999,15 +4113,18 @@ module TencentCloud
3999
4113
  # @type MsgBody: Array
4000
4114
  # @param CloudCustomData: 消息自定义数据(云端保存,会发送到对端,程序卸载重装后还能拉取到)。
4001
4115
  # @type CloudCustomData: String
4116
+ # @param NickName: 昵称,当FromAccount没有在房间中,需要填写NickName,当FromAccount在房间中,填写NickName无意义
4117
+ # @type NickName: String
4002
4118
 
4003
- attr_accessor :SdkAppId, :RoomId, :FromAccount, :MsgBody, :CloudCustomData
4119
+ attr_accessor :SdkAppId, :RoomId, :FromAccount, :MsgBody, :CloudCustomData, :NickName
4004
4120
 
4005
- def initialize(sdkappid=nil, roomid=nil, fromaccount=nil, msgbody=nil, cloudcustomdata=nil)
4121
+ def initialize(sdkappid=nil, roomid=nil, fromaccount=nil, msgbody=nil, cloudcustomdata=nil, nickname=nil)
4006
4122
  @SdkAppId = sdkappid
4007
4123
  @RoomId = roomid
4008
4124
  @FromAccount = fromaccount
4009
4125
  @MsgBody = msgbody
4010
4126
  @CloudCustomData = cloudcustomdata
4127
+ @NickName = nickname
4011
4128
  end
4012
4129
 
4013
4130
  def deserialize(params)
@@ -4023,6 +4140,7 @@ module TencentCloud
4023
4140
  end
4024
4141
  end
4025
4142
  @CloudCustomData = params['CloudCustomData']
4143
+ @NickName = params['NickName']
4026
4144
  end
4027
4145
  end
4028
4146
 
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.694
4
+ version: 3.0.696
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20220817/models.rb
37
- - lib/v20220817/client.rb
38
36
  - lib/tencentcloud-sdk-lcic.rb
37
+ - lib/v20220817/client.rb
38
+ - lib/v20220817/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: