newIntent

open fun newIntent(@NonNull context: Context, @NonNull channelUrl: String): Intent

Create an intent for a ChatNotificationChannelActivity.

Return

ChatNotificationChannelActivity Intent. since 3.5.0

Parameters

context

A Context of the application package implementing this class.

channelUrl

the url of the channel will be implemented.


open fun newIntent(@NonNull context: Context, @NonNull channelUrl: String, @StyleRes themeResId: Int): Intent

Create an intent for a ChatNotificationChannelActivity.

Return

ChatNotificationChannelActivity Intent. since 3.5.6

Parameters

context

A Context of the application package implementing this class.

channelUrl

the url of the channel will be implemented.

themeResId

the resource identifier for custom theme.