Represents a group channel params. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
|
inline |
GroupChannelParams constructor.
|
inline |
Add user. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
user | user |
|
inline |
Add user id. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
userId | userId |
|
inline |
Add user ids. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
userIds | userIds |
|
inline |
Add users. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
users | users |
|
inline |
Sets access code foreach public group channel. The access code setting is only valid foreach public GroupChannel
s. Once the access code is set, users have to accept an invitation or join the public GroupChannel
with the access code to be a member of the channel. Refer to GroupChannel#join(string, GroupChannel.GroupChannelJoinHandler) and GroupChannel#acceptInvitation(string, GroupChannel.GroupChannelAcceptInvitationHandler). To delete the existing access code, pass an empty string as to this and call GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler).
accessCode | Access code to be set. |
|
inline |
Sets broadcast mode channel. If broadcast mode is true, then super mode will be true. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
broadcast | true if broadcast mode channel. |
|
inline |
Sets channel url. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
channelUrl | channel url |
|
inline |
Sets cover url. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
coverImageUrl | cover image url |
|
inline |
Sets custom type. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
customType | custom type |
|
inline |
Sets data. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
data | data |
|
inline |
Sets discoverable channel foreach public group channel. It is valid only when setPublic(bool) is set to true. If it is set to false, this channel will not appear in the result of PublicGroupChannelListQuery. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
isDiscoverable | true if channel is discoverable in the result of PublicGroupChannelListQuery. |
|
inline |
Sets distinct mode. Distinct mode must be false, if super mode is true. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
isDistinct | true if distinct mode channel. |
|
inline |
Sets ephemeral mode channel. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
isEphemeral | true if ephemeral mode channel. |
|
inline |
Sets the message survival seconds. GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
messageSurvivalSeconds | Time before the message should disappears, in seconds. |
|
inline |
Sets channel name. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
name | channel name |
|
inline |
Add operators. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
operators | operators |
|
inline |
Add operator user ids. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
operatorUserIds | operatorUserIds |
|
inline |
Sets public mode channel. Distinct mode must be false, if public mode is true. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler) GroupChannel#updateChannel(GroupChannelParams, GroupChannel.GroupChannelUpdateHandler)
isPublic | true if public mode channel. |
|
inline |
Sets strict mode. When true, the channel creation will be failed if any of the users do not exist. When false, the channel creation will be succeeded even if all the users do not exist. The default value is false
. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
strict | strict |
|
inline |
Sets super mode channel. Distinct mode must be false, if super mode is true. GroupChannel#createChannel(GroupChannelParams, GroupChannel.GroupChannelCreateHandler)
isSuper | true if super mode channel. |