Conversation

Class · class Conversation: object · Source

A host-driven choice conversation with a stable id and target.

Audience: author

Superclass: object

Declared members

  • availableTo — method; Observational eligibility test for this asker.
  • canContinue — method; Decide whether the active conversation remains available to an asker.
  • choices — property; Authored DialogueChoice objects offered to the asker.
  • closing — method; Run when the goodbye choice closes this conversation.
  • id — property; Stable nonempty identifier sent by a host to begin the conversation.
  • isActive — property; Whether this conversation can currently be opened or continued.
  • opening — method; Run after an accepted begin request.
  • target — property; Actor or private speaker offering the conversation.

Member details

availableTo

availableTo(asker) · Source

Observational eligibility test for this asker.

canContinue

canContinue(asker) · Source

Decide whether the active conversation remains available to an asker.

choices

choices = [] · Source

Authored DialogueChoice objects offered to the asker.

closing

closing(c) · Source

Run when the goodbye choice closes this conversation.

id

id = nil · Source

Stable nonempty identifier sent by a host to begin the conversation.

isActive

isActive = true · Source

Whether this conversation can currently be opened or continued.

opening

opening(c) · Source

Run after an accepted begin request.

target

target = nil · Source

Actor or private speaker offering the conversation.