Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.09 KB

File metadata and controls

34 lines (26 loc) · 1.09 KB

MessageType

Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need messageType specified.

Example Usage

from glean.api_client.models import MessageType

value = MessageType.UPDATE

# Open enum: unrecognized values are captured as UnrecognizedStr

Values

Name Value
UPDATE UPDATE
CONTENT CONTENT
CONTEXT CONTEXT
CONTROL CONTROL
CONTROL_START CONTROL_START
CONTROL_FINISH CONTROL_FINISH
CONTROL_CANCEL CONTROL_CANCEL
CONTROL_RETRY CONTROL_RETRY
CONTROL_UNKNOWN CONTROL_UNKNOWN
DEBUG DEBUG
DEBUG_EXTERNAL DEBUG_EXTERNAL
ERROR ERROR
HEADING HEADING
WARNING WARNING
SERVER_TOOL SERVER_TOOL