open Story By External Id
fun openStoryByExternalId(context: Activity, externalId: String? = null, openedReason: Storyteller.StorytellerStoriesOpenReason = StorytellerStoriesOpenReason.INSTANCE_METHOD, onError: (StorytellerError) -> Unit = {})
Opens a Story by its external ID. External IDs are alternative identifiers that can be assigned to Stories in the Storyteller CMS.
Parameters
context
The Activity from which to open the Story.
external Id
The external ID of the Story to open.
opened Reason
The reason for opening this Story, used for analytics.
on Error
Callback invoked if an error occurs (e.g., Story with the external ID not found).