Briyah SDK - v2.0.6
    Preparing search index...

    Interface StoryIntroduceCharacterEvent

    Payload emitted on the 'suggest-introduce-character' event of the story message emitter. Fired when the narrator decides a new character should enter the story.

    The host app should present this to the player before acting:

    • Accept: call introduceCharacterToStory({ name: event.characterName, fromNarratorSuggestion: true })
    • Reject: call declineCharacter(storyId, event.characterName)
    interface StoryIntroduceCharacterEvent {
        characterName?: string;
        timestamp: number;
        type: "suggest-introduce-character";
    }
    Index
    characterName?: string

    Name of the character the narrator wants to introduce

    timestamp: number
    type: "suggest-introduce-character"