createIntent

fun createIntent(context: Context, cid: String, messageId: String? = null, activityClass: Class<out MessageListActivity> = MessageListActivity::class.java): Intent

Creates an Intent to start the MessageListActivity or its subclass.

Parameters

context

The context that will be used in the intent.

cid

The full channel id, i.e. "messaging:123".

messageId

The ID of the selected message.

activityClass

The Activity class that will be used in the intent.