You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/Plugins/StreamChat/Core/LowLevelClient/Requests/BanRequest.cs
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
usingSystem;
2
2
usingStreamChat.Core.Helpers;
3
3
usingStreamChat.Core.InternalDTO.Requests;
4
+
usingStreamChat.Core.StatefulModels;
4
5
5
6
namespaceStreamChat.Core.LowLevelClient.Requests
6
7
{
@@ -19,11 +20,11 @@ public partial class BanRequest : RequestObjectBase, ISavableTo<BanRequestIntern
19
20
publicstringBannedById{get;set;}
20
21
21
22
/// <summary>
22
-
/// Channel CID to ban user in eg. messaging:123
23
+
/// Channel CID to ban user in e.g. messaging:123. You can grab the channel CID from objects like <see cref="IStreamChannel.Cid"/>, <see cref="IStreamMessage.Cid"/>
23
24
/// </summary>
24
25
publicstringChannelCid{get;set;}
25
26
26
-
[Obsolete("Has no effect and will be removed in a future release")]//StreamTODO: remove this in a major release
27
+
[Obsolete("Will be removed in a future release. Please use the ChannelCid field")]//StreamTODO: remove this in a major release
27
28
publicstringId{get;set;}
28
29
29
30
/// <summary>
@@ -37,7 +38,7 @@ public partial class BanRequest : RequestObjectBase, ISavableTo<BanRequestIntern
37
38
publicstringReason{get;set;}
38
39
39
40
/// <summary>
40
-
/// Whether to perform shadowban or not
41
+
/// Whether to perform shadow-ban or not
41
42
/// </summary>
42
43
publicbool?Shadow{get;set;}
43
44
@@ -51,7 +52,7 @@ public partial class BanRequest : RequestObjectBase, ISavableTo<BanRequestIntern
51
52
/// </summary>
52
53
publicint?Timeout{get;set;}
53
54
54
-
[Obsolete("Has no effect and will be removed in a future release")]//StreamTODO: remove this in a major release
55
+
[Obsolete("Will be removed in a future release. Please use the ChannelCid field")]//StreamTODO: remove this in a major release
55
56
publicstringType{get;set;}
56
57
57
58
[Obsolete("Has no effect and will be removed in a future release")]//StreamTODO: remove this in a major release
@@ -62,6 +63,7 @@ public partial class BanRequest : RequestObjectBase, ISavableTo<BanRequestIntern
0 commit comments