Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Riot.Messaget is the type of all messages in a Riot program.
Since this type is extensible, you can make sure different parts of your program can see the constructors that are relevant for them.