docs: def _verified_message_type_from_id(message_type_id):
      # type: (int) -> ObjectType
      """Load a message :class:`ObjectType` for the specified message type ID.
  
      :param int message_type_id: Message type ID
      :return: Message type
      :rtype: ObjectType
      :raises NotSupportedError: if unsupported message type ID is received
      """
      try:
          return ObjectType(message_type_id)
      except ValueError as error:
          raise NotSupportedError("Unsupported type {} discovered in data stream".format(message_type_id), error)