newRedirectToMessageThreadIntent

open fun newRedirectToMessageThreadIntent(@NonNull context: Context, @NonNull channelUrl: String, messageId: Long): Intent

Create an intent for a ChannelActivity. This intent will redirect to MessageThreadActivity if message has parent.

Return

ChannelActivity Intent since 3.3.0

Parameters

context

A Context of the application package implementing this class.

channelUrl

the url of the channel will be implemented.

messageId

The message id of the anchor that redirects message thread.