There are a maximum of 63 message types, so a bitmask can be passed.    Messages have two args.  See Message Codes.