IntentBuilder

open fun IntentBuilder(@NonNull context: Context, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage)

Create an intent for a MessageThreadActivity.

Parameters

context

A Context of the application package implementing this class.

channelUrl

The url of the channel will be implemented.

parentMessage

The parent message of thread. since 3.3.0


open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out MessageThreadActivity>, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage)

Create an intent for a MessageThreadActivity.

Parameters

context

A Context of the application package implementing this class.

customClass

The activity class that is to be used for the intent.

channelUrl

The url of the channel will be implemented.

parentMessage

The parent message of thread. since 3.3.0


open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out MessageThreadActivity>, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage, @StyleRes themeResId: Int)

Create an intent for a ChannelActivity.

Parameters

context

A Context of the application package implementing this class.

customClass

The activity class that is to be used for the intent.

channelUrl

The url of the channel will be implemented.

themeResId

the resource identifier for custom theme. since 3.5.6