public class GroupChannelChangeLogsParams
extends java.lang.Object
SendBird.getMyGroupChannelChangeLogsByTimestampWithParams(long, GroupChannelChangeLogsParams, SendBird.GetMyGroupChannelChangeLogsHandler)
.
SendBird.getMyGroupChannelChangeLogsByTokenWithParams(String, GroupChannelChangeLogsParams, SendBird.GetMyGroupChannelChangeLogsHandler)
.Constructor and Description |
---|
GroupChannelChangeLogsParams() |
GroupChannelChangeLogsParams(java.util.List<java.lang.String> customTypes,
boolean includeEmpty,
boolean includeFrozen) |
Modifier and Type | Method and Description |
---|---|
GroupChannelChangeLogsParams |
clone()
Clones and returns a new instance of
GroupChannelChangeLogsParams . |
static GroupChannelChangeLogsParams |
from(GroupChannelListQuery query)
Create
GroupChannelChangeLogsParams from a given GroupChannelListQuery instance. |
java.util.List<java.lang.String> |
getCustomTypes()
Returns the custom type filter.
|
void |
setCustomTypes(java.util.List<java.lang.String> customTypes)
Sets custom types filter.
|
void |
setIncludeEmpty(boolean includeEmpty)
Sets
true /false to include empty channels or not (channels without messages). |
void |
setIncludeFrozen(boolean includeFrozen)
Sets
true /false to include frozen channels or not. |
boolean |
shouldIncludeEmpty()
Returns whether to include empty channels or not (channels without messages).
|
boolean |
shouldIncludeFrozen()
Returns whether to include frozen channels or not.
|
java.lang.String |
toString() |
public GroupChannelChangeLogsParams()
public GroupChannelChangeLogsParams(java.util.List<java.lang.String> customTypes, boolean includeEmpty, boolean includeFrozen)
public void setCustomTypes(java.util.List<java.lang.String> customTypes)
customTypes
- GroupChannel
custom types filter. If this is null, the changelogs of all channels will be returned.public void setIncludeEmpty(boolean includeEmpty)
true
/false
to include empty channels or not (channels without messages).
This flag is true by default.includeEmpty
- Flag to include empty channels.public void setIncludeFrozen(boolean includeFrozen)
true
/false
to include frozen channels or not.
This flag is true by default.includeFrozen
- Flag to include frozen channels.public java.util.List<java.lang.String> getCustomTypes()
public boolean shouldIncludeEmpty()
public boolean shouldIncludeFrozen()
public GroupChannelChangeLogsParams clone()
GroupChannelChangeLogsParams
.clone
in class java.lang.Object
GroupChannelChangeLogsParams
.public static GroupChannelChangeLogsParams from(GroupChannelListQuery query)
GroupChannelChangeLogsParams
from a given GroupChannelListQuery
instance.query
- GroupChannelListQuery
instance to clone from.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.