File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/main/java/io/getstream/chat/java/models Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ public class ChannelType {
136136 @ JsonProperty ("grants" )
137137 private Map <String , List <String >> grants ;
138138
139+ @ Nullable
140+ @ JsonProperty ("count_messages" )
141+ private Boolean countMessages ;
142+
139143 @ Data
140144 @ NoArgsConstructor
141145 public static class Threshold {
@@ -404,6 +408,10 @@ public static class ChannelTypeCreateRequestData {
404408 @ JsonProperty ("name" )
405409 private String name ;
406410
411+ @ Nullable
412+ @ JsonProperty ("count_messages" )
413+ private Boolean countMessages ;
414+
407415 public static class ChannelTypeCreateRequest extends StreamRequest <ChannelTypeCreateResponse > {
408416
409417 private static final boolean DEFAULT_PUSH_NOTIFICATIONS = true ;
@@ -544,6 +552,10 @@ public static class ChannelTypeUpdateRequestData {
544552 @ JsonProperty ("grants" )
545553 protected Map <String , List <String >> grants ;
546554
555+ @ Nullable
556+ @ JsonProperty ("count_messages" )
557+ private Boolean countMessages ;
558+
547559 public static class ChannelTypeUpdateRequest extends StreamRequest <ChannelTypeUpdateResponse > {
548560 @ NotNull private String name ;
549561
You can’t perform that action at this time.
0 commit comments