GroupChannelConfiguration extension
GroupChannelConfiguration
- on
Methods
-
freeze(
) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Freeze thisGroupChannel
. -
getMyPushTriggerOption(
) → Future< GroupChannelPushTriggerOption> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Gets push trigger option of this channel. Refer to PushTriggerOption. For details of push trigger option, refer to setMyPushTriggerOption -
hide(
{bool hidePreviousMessage = false, bool allowAutoUnhide = true}) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Hides this channel from the currentUser's
GroupChannel` list. When a new message is received from the channel, it appears again. -
notifyScreenshotWasTaken(
) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Notifies the current user took a screenshot in this channel. The server is going to send an admin message to notify this in the group channel. -
setMyCountPreference(
CountPreference countPreference) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Sets my count preference for this channel. -
setMyPushTriggerOption(
GroupChannelPushTriggerOption option) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Sets push trigger option of this channel. If channel's push trigger option is set to GroupChannelPushTriggerOption.defaultValue, it works according to the state of PushTriggerOption. If not, push messages will be triggered according to the state of GroupChannelPushTriggerOption. -
unfreeze(
) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Unfreeze thisGroupChannel
. -
unhide(
) → Future< void> -
Available on GroupChannel, provided by the GroupChannelConfiguration extension
Unhides this channel from the currentUser
'sGroupChannel
list.