Interface ChannelMarkReadListener
-
- All Implemented Interfaces:
public interface ChannelMarkReadListenerListener for ChatClient.markRead requests.
-
-
Method Summary
Modifier and Type Method Description abstract Result<Unit>onChannelMarkReadPrecondition(String channelType, String channelId)Run precondition for the request. -
-
Method Detail
-
onChannelMarkReadPrecondition
abstract Result<Unit> onChannelMarkReadPrecondition(String channelType, String channelId)
Run precondition for the request. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.
- Parameters:
channelType- Type of the channel to mark as read.channelId- Id of the channel to mark as read.- Returns:
Result.Success if precondition passes, otherwise Result.Failure.
-
-
-
-