Message¶
Class · class Message: object ·
Source
A message keyed by stable id, with text or a computed say method.
Audience: author
Superclass: object
Declared members¶
- id — property; Stable key used by actions and host presentation.
- isActive — property; Observational condition controlling whether this message can be selected.
- priority — property; Higher-priority active messages replace lower-priority messages with the same id.
- say — method; Emit a computed message for the supplied command.
- text — property; Literal presentation text for this message.
Member details¶
id¶
id = nil · Source
Stable key used by actions and host presentation.
isActive¶
isActive = true · Source
Observational condition controlling whether this message can be selected.
priority¶
priority = 0 · Source
Higher-priority active messages replace lower-priority messages with the same id.
say¶
say(c) · Source
Emit a computed message for the supplied command.
text¶
text = nil · Source
Literal presentation text for this message.